gpt4 book ai didi

unit-testing - 在 virtualenv 中使用 gaetestbed

转载 作者:太空宇宙 更新时间:2023-11-03 15:22:15 24 4
gpt4 key购买 nike

我想尝试一下 GAE Testbed,但在完成 instructions on its homepage 后遇到以下错误.

$ nosetests --with-gae
...
ImportError: No module named dev_appserver

我已经确认这发生在 virtualenv 和外部。

最佳答案

使用 --gae-lib-root 选项

$ nosetests --with-gae --gae-lib-root=/opt/my/google_appengine

关于unit-testing - 在 virtualenv 中使用 gaetestbed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3182879/

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