How to use Python 3 with Google App Engine's Local Development Server
问题 I've got a local Python application configured with runtime: python in it's app.yaml file. When starting the local development server with dev_appserver.py app.yaml all is fine. Since GAE's Local Development Server uses Python2.7 by default, I now want to make use of Python3.x instead. According to Google's documentation, we have to use the flexible environment. Thus I'm changing app.yaml to: runtime: python env: flex runtime_config: python_version: 3 Now dev_appserver.py app.yaml spits out: