error in running Google apps in python in windows OS

前端 未结 2 1957
爱一瞬间的悲伤
爱一瞬间的悲伤 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.

提交回复
热议问题