导入错误:没有名为 jsonpickle 的模块

问题描述 投票:0回答:1

我收到以下错误:-

  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 239, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 298, in _LoadHandler
    handler, path, err = LoadObject(self._handler)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 84, in LoadObject
    obj = __import__(path[0])
  File "/base/data/home/apps/s~XXXXXXXXX/1-2-5-test.371816147108304389/finish.py", line 8, in <module>
    import jsonpickle
ImportError: No module named jsonpickle

我的根目录中有jsonpickle(版本0.6.1)。我在 python 中使用了其他几个第三方库,导入时没有任何问题。为什么这只发生在 jsonpickle 上?奇怪的是,这在本地服务器上运行良好,而我仅在远程服务器上收到错误。

我尝试了 google app engine jsonpickle 问题的解决方案。它们似乎都不起作用。如果可能的话,谁能在 GAE 上确认我的问题吗?

python google-app-engine jsonpickle
1个回答
0
投票

我修复了安装下一个的错误

pip install jsonpickle
© www.soinside.com 2019 - 2024. All rights reserved.