首页 > 解决方案 > 为什么 Sphinx 找不到模块'sphinxcontrib.serializinghtml'

问题描述

由于我将 Sphinx 从 1.7 更新到 2.2.0,因此创建文档的尝试立即以

无法导入扩展 sphinx.builders.epub3(例外:没有名为“sphinxcontrib.serializinghtml”的模块)

我正在使用 Python 3.7 在 Windows 7 Enterprise SP1 下从 pyCharm 2018.2 启动 Sphinx。环境变量“Path”包含 python 37、python 37/lib、python 37/lib/site-packages、python 37/dlls 的路径。模块 serializinghtml 存在于“Python 37\Lib\site-packages\sphinxcontrib\”中。

有人可以帮忙吗?

最好的问候洪巴兰

标签: python-3.xpython-sphinx

解决方案


推荐阅读