我尝试使用 guzzle_sphinx_theme 作为sphinx-doc主题,check here how to。
我第一次使用make html
生成文档时,一切正常(没有错误)。
重新启动计算机后,它会出现如下错误:
Running Sphinx v1.7.2
Configuration error:
There is a programable error in your configuration file:
Traceback (most recent call last):
File "/usr/local/Cellar/sphinx-doc/1.7.2/libexec/lib/python2.7/site-packages/sphinx/config.py", line 161, in __init__
execfile_(filename, config)
File "/usr/local/Cellar/sphinx-doc/1.7.2/libexec/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/usr/local/Cellar/sphinx-doc/1.7.2/libexec/vendor/lib/python2.7/site-packages/six.py", line 709, in exec_
exec("""exec _code_ in _globs_, _locs_""")
File "<string>", line 1, in <module>
File "conf.py", line 22, in <module>
import guzzle_sphinx_theme
ImportError: No module named guzzle_sphinx_theme
make: *** [html] Error 2
我之后尝试过的事情:
pip freeze | grep guzz
提供guzzle-sphinx-theme==0.7.11
python -V
显示Python 2.7.14 :: Anaconda, Inc.
有没有人对此有解决方法?