我正在使用 Python 2.7 和 Google appengine 创建一个应用程序。当我尝试使用 devappserver.py 运行应用程序时,出现以下错误。
from google.appengine.api import mail_stub
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\mail_stub.py", line 50, in <module>
class MailServiceStub(apiproxy_stub.APIProxyStub):
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\api\mail_stub.py", line 223, in MailServiceStub
popen=subprocess.Popen,
AttributeError: 'module' object has no attribute 'Popen'
2015-04-16 16:35:43 (Process exited with code 1)
Run Code Online (Sandbox Code Playgroud)
直到我将 PYTHONPATH 更改为 google\google_appengine\lib\webob-1.1.1;
我怎样才能解决这个问题?