我来的发展今天上午在本地运行我的应用程序,在谷歌应用程序引擎启动的Windows。直到昨天这一直工作正常,从那时起代码没有改变。谷歌应用程序引擎导入错误
现在,当我尝试运行在本地主机上的应用程序,我得到了黄色的警告标志在启动和日志显示以下;
2012-08-02 08:37:54 Running command: "['C:\\Python27\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.py', '--admin_console_server=', '--port=8080', 'C:\\Documents and Settings\\preston\\My Documents\\Google Drive\\Development\\Instance']"
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 133, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 129, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py", line 157, in <module>
from google.appengine.tools import appcfg
File "C:\Program Files\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 python26.dll conflicts with this version of Python.
2012-08-02 08:37:55 (Process exited with code 1)
我只曾有的Python 2.7这台机器上安装
,什么都尝试过,据我所知之前,使用python26.dll ...
另外,我检查启动更新,没有发现。有没有人经历过这个?最令人费解的事情对我来说,它的改变行为,因为昨天...
最近安装了其他软件吗?至少在你的机器上添加了python26.dll。 – 2012-08-02 07:48:54
import _socket < - 是底层的C库吗?只需重新安装应用程序引擎? – 2012-08-02 07:52:05
@MartijnPieters请记住,我确实安装了Google云端硬盘,我会尽量将其关闭。 – unwitting 2012-08-02 08:00:54