【发布时间】:2015-04-08 12:15:36
【问题描述】:
我的app.yaml 包括以下几行:
libraries:
- name: pycrypto
version: "2.6"
我有正确版本的 PyCrypto:
$ python
>>> import Crypto
>>> Crypto.__version__
'2.6'
但是当我尝试在 GAE Development SDK 交互式控制台中评估 import Crypto 时,我得到了这个:
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/request_handler.py", line 225, in handle_interactive_request
exec(compiled_code, self._command_globals)
File "<string>", line 12, in <module>
ImportError: No module named Crypto
【问题讨论】:
标签: python google-app-engine pycrypto