gpt4 book ai didi

python - NotImplementedError : The gflags library must be installed to use tools. 运行()。请安装 gflags 或者最好切换到使用 tools.run_flow()

转载 作者:太空狗 更新时间:2023-10-30 00:50:01 30 4
gpt4 key购买 nike

我正在开发 GAE django 非相关应用程序。我面临与 gflags 相关的错误。

NotImplementedError: The gflags library must be installed to use tools.run(). Please install gflags or preferrably switch to using tools.run_flow()

为了解决这个错误,我下载了 glags.py 和 gflags_validators.py 并将它们放入我的项目的根文件夹中。

通过上述解决方案,我得到了另一个错误。

EOFError at /pages
EOF when reading a line

Exception Value:
EOF when reading a line
Exception Location: D:\jatin\Project\GAE_django\non-rel_django1.5\oauth2client\old_run.py in run, line 149

最佳答案

试试这个

pip install python-gflags

sudo easy_install --upgrade python-gflags

关于python - NotImplementedError : The gflags library must be installed to use tools. 运行()。请安装 gflags 或者最好切换到使用 tools.run_flow(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25745496/

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