Google App Engine啓動器在運行任何應用時突然不工作,它在昨天運行良好。無法在Google應用引擎啓動器中運行helloworld
錯誤產生:
wi2013-01-15 14:56:52 Running command: "['C:\\Python27\\pythonw.exe', 'C:\\Program Files (x86)\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8080', 'C:\\Users\\Lawrence\\Documents\\guestbook-2']"
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 171, in <module>
run_file(__file__, globals())
File "C:\Program Files (x86)\Google\google_appengine\dev_appserver.py", line 167, in run_file
execfile(script_path, globals_)
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver_main.py", line 166, in <module>
from google.appengine.tools import appcfg
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 41, in <module>
import mimetypes
File "C:\Python27\Lib\mimetypes.py", line 29, in <module>
import urllib
File "C:\Python27\Lib\urllib.py", line 26, in <module>
import socket
File "C:\Python27\Lib\socket.py", line 47, in <module>
import _socket
ImportError: Module use of python25.dll conflict with this version of Python.
2013-01-15 14:56:52 (Process exited with code 1)
只要在Google這個錯誤,有很多的解決方案,告訴您更改 System/ User Environment
變量添加C:\Python27;C:\Python27\Scripts; C:\Python27\Lib; C:\Python27\libs;
等,刪除或添加用戶變量等,所有這些伎倆並不爲我工作。我沒有安裝python25
。這些程序引用它並使用import _socket是Google應用程序引擎啓動器本身或Google Drive,因爲人們發現這可能會導致問題,所以我已經停止了我的Google Drive。所以我猜這個GAE
當它發生一些錯誤時會發生衝突。線索是我在谷歌應用程序啓動日誌其他錯誤,C:\Program Files (x86)\Google\google_appengine\launcher\GoogleAppEngineLauncher.exe.log
我使用的是贏得7 64位,GAE 1.7.4
,Python 2.7.3
那些環境變量技巧不適合我..... –
同樣在這裏!!!!!! – sadaf2605
對我來說,解決方法是不使用啓動程序並使用命令行工具,到目前爲止似乎沒問題。 – Cilvic