开发者

Web2py & Google App Engine import errors

开发者 https://www.devze.com 2023-03-25 20:18 出处:网络
I tried to start web2py 1.98.1 using dev_appserver.py, but it cannot find the \"pickle\" module. Traceback (most recent call last):File

I tried to start web2py 1.98.1 using dev_appserver.py, but it cannot find the "pickle" module.

Traceback (most recent call last): File "/home/matthew/dev/sdks/google_appengine_1.5.2/google/appengine/ tools/dev_appserver.py", line 4144, in _HandleRequest self._Dispatch(dispatcher, self.rfile, outfile, env_dict)

File "/home/matthew/dev/sdks/google_appengine_1.5.2/google/appengine/ tools/dev_appserver.py", line 4049, in _Dispatch base_env_dict=env_dict) File "/home/matthew/dev/sdks/google_appengine_1.5.2/开发者_C百科google/appengine/ tools/dev_appserver.py", line 616, in Dispatch base_env_dict=base_env_dict) File "/home/matthew/dev/sdks/google_appengine_1.5.2/google/appengine/ tools/dev_appserver.py", line 3120, in Dispatch self._module_dict) File "/home/matthew/dev/sdks/google_appengine_1.5.2/google/appengine/ tools/dev_appserver.py", line 3024, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook)

File "/home/matthew/dev/sdks/google_appengine_1.5.2/google/appengine/ tools/dev_appserver.py", line 2887, in ExecuteOrImportScript exec module_code in script_module.dict File "/home/matthew/dev/projects/poprop_cameron/project/src/ gaehandler.py", line 33, in import pickle ImportError: No module named pickle

When I import it using the interpreter, it imports without error. Is there a path I have to include somewhere?

0

精彩评论

暂无评论...
验证码 换一张
取 消