gpt4 book ai didi

python - 从哪里获得 sphinxcontrib.autohttp.flask?

转载 作者:太空狗 更新时间:2023-10-29 21:26:34 24 4
gpt4 key购买 nike

我希望为 Flask 项目的 REST API 生成自动文档。我无法在任何地方找到 sphinx 扩展 sphinxcontrib.autohttp.flask,它似乎没有与 sphinx 捆绑在一起。当我运行 sphinx 时,我得到:

Extension error:
Could not import extension sphinxcontrib.autohttp.flask (exception: No module named sphinxcontrib.autohttp.flask)

谁能告诉我在哪里可以找到它?

最佳答案

sphinxcontrib.autohttp.flask 模块位于 sphinxcontrib.httpdomain contrib 扩展中,您可以在这里找到 https://bitbucket.org/birkenfeld/sphinx-contrib或者您可以像这样使用 pip 直接安装它:

pip install sphinxcontrib-httpdomain

关于python - 从哪里获得 sphinxcontrib.autohttp.flask?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26026084/

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