import gaemechanize
。但最近,我将GAE更新到最新版本,当我在本地机器上运行时出现此错误(gaemachanize在上传到服务器时工作正常)
Internal Server Error
import_string() failed for 'myapp.views.index'. Possible reasons are: - missing __init__.py in a package; - package or module path not included in sys.path; - duplicated package or module name taking precedence in sys.path; - missing module, class, function or variable; Debugged import: - 'myapp' found in 'D:\\Dropbox\\GAE Proj\\xxxx\\myapp\\__init__.pyc'. - 'myapp.views' not found. Original exception: ImportError: No module named _winreg
我在gaemechanize的_msiecookiejar.py文件中找到import _winreg
我在Windows 7上使用python 2.7.7
我尝试做错时出错了
pip install _winreg
如何解决?