6

Does the Google application engine use python 2.7.0 or 2.7.1?

 2 years ago
source link: https://www.codesd.com/item/does-the-google-application-engine-use-python-2-7-0-or-2-7-1.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Does the Google application engine use python 2.7.0 or 2.7.1?

advertisements

What python version does app engine use?

This is related to problems I'm having on mac osx with getting pycrypto to work. Because the python version now in mac is 2.7.1. When Google says the python version for app engine is '2.7' do they mean precisely 2.7.0? Or is python 2.7.1 okay too?

Can this cause problems for my local install of pycrypto? ( which I installed with pip: sudo pip install pycrypto==2.6 )The pycrypto library works correctly, but it somehow messes up app engine running a development server. The logging doesn't show all errors or logs which I expect to appear there.


When Google says the python version for app engine is '2.7' do they mean precisely 2.7.0? Or is python 2.7.1 okay too?

Any subversion of python 2.7 works. 2.7.0 works, but I have used 2.7.6 and 2.7.10 extensively as well. So I'm sure that 2.7.1 will work too.

Can this cause problems for my local install of pycrypto? ( which I installed with pip using: 'sudo pip install pycrypto==2.6' )The pycrypto library works correctly, but it somehow messes up app engine running a development server. The logging doesn't show all errors or logs which I expect to appear there.

I know you have asked about this before but I will give you an other (better) way to include pycrypto in your appengine project.

In your app.yaml, specify the following:

libraries:
- name: pycrypto
  version: "2.6"  # or "latest", or "2.3"

See https://cloud.google.com/appengine/docs/python/tools/libraries27 for more info about which libraries are supported by appengine and how you can import which versions.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK