error in running Google apps in python in windows OS

前端 未结 2 1956
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-18 16:52

in google app engine

get error in runing the appicaition

in logs of googleappengine

2012-04-21 13:24:04 Running com

相关标签:
2条回答
  • 2020-12-18 17:07

    Also, I had the same problem. This is because I have installed both Python 2.7 and Python 3.x (the latest version of the framework Django uses the latter). I installed Python 3.x later so this is the version that is used by default in my system. To use Python 2.7 you could do the following:

    C:\Python27\python.exe dev_appserver.py path-to-your-app

    Notice that here

    C:\Python27\python.exe

    is the path to the python 2.7 executable (in my case, but this could vary).

    I did that and it worked.

    More info and reading here.

    0 讨论(0)
  • 2020-12-18 17:18

    You appear to be running Python 3.2 (your Python executable is on this path 'C:\Python32\pythonw.exe').

    Google AppEngine requires Python 2.5 or 2.7 at this stage, see this article. You need to download Python 2.7, install it in a parallel directory, and make it the default executable.

    You may find it helpful to read this answer on running more than one version of Python

    0 讨论(0)
提交回复
热议问题