我正在尝试将我的斯芬克斯文档与Readthedocs链接起来。我可以在我的计算机上本地生成文档,但是当我尝试让Readthedocs自动生成文档时,我得到以下错误:
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/helstrom-quantum-centroid-classifier/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file
execfile_(filename, namespace)
File "/home/docs/checkouts/readthedocs.org/user_builds/helstrom-quantum-centroid-classifier/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/home/docs/checkouts/readthedocs.org/user_builds/helstrom-quantum-centroid-classifier/checkouts/latest/docs/conf.py", line 16, in <module>
import sphinx_gallery
ModuleNotFoundError: No module named 'sphinx_gallery'
我在conf.py文件中导入了sphinx_gallery,并添加了扩展名“sphinx_gallery.gen_gallery”。我的conf.py文件位于此处: https://github.com/leockl/helstrom-quantum-centroid-classifier/blob/master/docs/conf.py
我的Github项目位于这里: https://github.com/leockl/helstrom-quantum-centroid-classifier
我哪里出错了
目前没有回答
相关问题 更多 >
编程相关推荐