出于某种原因,当我昨天上传我的应用程序引擎项目时(在此之前,一切正常),它找不到我的 .py 文件/模块之一。我的目录如下:
app_directory/
gaesessions/
__init__.py
lib/
httplib2/
__init__.py
other stuff
app.yaml
appengine_config.py
index.yaml
All other .py files/modules
由于某种原因,我现在收到以下错误:
import_string() failed for 'games.GetMyGames'. 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;
Original exception:
ImportError: cannot import name GameModel