About the problem that the python version of Google App Engine does not mesh

Python runs 2.5 and 2.7 on Google App Engine. Which one to use depends on the runtime description in the app.yaml of the app. See below. And it's no wonder there's a new GAE library that you can't see if it's an old GAE. The old GAE runs at 2.5 and the new GAE runs at 2.7.

yaml:python2.App for 5.yaml


runtime: python

yaml:pytnon2.App for 7.yaml


runtime: python27

Also, if you press "command +," with the GAE launcher active, preferences will start and you can change the python you are referencing (should).

By the way, the version of my python that can be confirmed on terminal is 2.7.1, and the python referenced by the GAE launcher also matches it. The python I'm using now is lion's default python to see the path and version. There is no particular problem as long as I start the app I just developed and check the operation, but I can not trust it because I have not touched GAE so much since I made it lion.

python path, version, etc.


%which python
/usr/bin/python
% python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>

Recommended Posts

About the problem that the python version of Google App Engine does not mesh
Runtime version of Google App Engine / Python Standard Environment
The story that the version of python 3.7.7 was not adapted to Heroku
About the virtual environment of python version 3.7
The story of the release work of the application that Google does not tell
The problem that the version of Vue CLI did not go up
A note about the python version of python virtualenv
Examples and solutions that the Python version specified in pyenv does not run
About the matter that the contents of Python print are not visible in docker logs
About the ease of Python
Solved the problem that MacVim installed by Homebrew was not built by python of pyenv
Python version does not switch
About the features of Python
Grep so that grep does not appear at the time of grep
pyenv-change the python version of virtualenv
Problem that discord.py does not break
Change the Python version of Homebrew
About the basics list of Python basics
When incrementing the value of a key that does not exist
[Python] Run Flask on Google App Engine
[Python] Try pydash of the Python version of lodash
Python> Python does not include the last offset
Processing when the key input of Python pygame does not go well.
Intuitive explanation that does not rely on mathematical formulas for the Monty Hall problem and simulation with Python
It seems that the version of pyflakes is not the latest when flake8 is installed
A solution to the problem that the Python version in Conda cannot be changed
About the matter that softmax is not needed at the end of Torchvision model.
Around the authentication of PyDrive2, a package that operates Google Drive with Python
Solution to the problem that build does not end when installing OpenCV (PEP517)
Bugs that static files are not displayed on the App Engine development server
Separately install a version of Python that is not pre-installed on your Mac
Try the python version of emacs-org parser orgparse
Tweet (API 1.1) on Google App Engine for Python
Try the free version of Progate [Python I]
[Note] About the role of underscore "_" in Python
About the behavior of Model.get_or_create () of peewee in Python
About the * (asterisk) argument of python (and itertools.starmap)
The problem that the width of the main window widens when setting long text in the status bar in the Qt app (PySide version)
[systemd] How to deal with the problem that fancontrol does not work after suspending
How to use a library that is not originally included in Google App Engine
Chrome cannot be opened with selenium because the version of Chrome driver does not match
[Pyhton] I want to solve the problem that tkinter does not work on MacOS11
I investigated the problem that I could not get more than 101 images with google images download
Google App Engine SDK / Go (Linux version) and Python installed by linuxbrew are incompatible
Various memorandums when using sdk of LINE Messaging API with Python (2.7.9) + Google App Engine
What to do if Python does not switch from the System version in pyenv
[Python] A program that counts the number of valleys
Key input that does not wait for key input in Python
Deploy a Django application on Google App Engine (Python3)
Google App Engine / Python development environment construction procedure (late 2014)
Let's use the Python version of the Confluence API module.
Not being aware of the contents of the data in python
(Beginner) Basic usage of Datastore on Google App Engine
python chrome driver ver. Solving the problem of difference
PIL with Python on Windows 8 (for Google App Engine)
Getting Started with Google App Engine for Python & PHP
Check when the version does not switch with pyenv
How to use Django on Google App Engine / Python
A reminder about the implementation of recommendations in Python
The attitude that programmers should have (The Zen of Python)
[Python] A program that compares the positions of kangaroos.