gpt4 book ai didi

google-app-engine - Django-nonrel 和 Google App Engine 上 dev_appserver.py 的 AppConfigNotFoundError

转载 作者:行者123 更新时间:2023-12-04 06:10:38 24 4
gpt4 key购买 nike

我正在尝试清除我的本地数据库,如解释 in the docs

但是当我尝试运行 dev_appserver.py --clear_datastore 时我得到的命令 google.appengine.tools.dev_appserver.AppConfigNotFoundError

dev_appserver.py --clear_datastore dennys
Traceback (most recent call last):
File "/usr/local/bin/dev_appserver.py", line 76, in <module>
run_file(__file__, globals())
File "/usr/local/bin/dev_appserver.py", line 72, in run_file
execfile(script_path, globals_)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 687, in <module>
sys.exit(main(sys.argv))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_main.py", line 575, in main
appinfo, matcher = dev_appserver.LoadAppConfig(root_path, {})
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 4359, in LoadAppConfig
raise AppConfigNotFoundError
google.appengine.tools.dev_appserver.AppConfigNotFoundError

最佳答案

您必须在命令行中将应用程序的目录指定为 dev_appserver.py。

关于google-app-engine - Django-nonrel 和 Google App Engine 上 dev_appserver.py 的 AppConfigNotFoundError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7824422/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com