簡體   English   中英

Google App Engine ImportError

[英]Google App Engine ImportError

我今天早上在Google App Engine Launcher for Windows中開發我的應用程序。 直到昨天,這一直工作正常,從那時起代碼沒有改變。

現在,當我嘗試在localhost上運行應用程序時,我在Launcher中得到黃色警告標志,日志顯示以下內容;

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 ...

另外,我已經檢查了Launcher的更新,沒有找到。 以前有人經歷過這個嗎? 對我來說最令人困惑的事情是它自昨天以來改變了行為......

解決:根據評論者的提示,我嘗試關閉自上次成功運行以來已安裝的所有應用程序。 這只相當於一個; Google雲端硬盤。 停止該過程允許App Engine Launcher正常運行應用程序,因此沖突來自兩個Google應用程序!

謝謝您的幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM