sphinx doc,没有名为guzzle_sphinx_theme的模块

时间:2018-04-10 08:49:19

标签: themes python-sphinx

我尝试使用 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

我之后尝试过的事情:

  • 重新安装guzzle_sphinx_theme&gt;与上面相同的错误
  • pip freeze | grep guzz提供guzzle-sphinx-theme==0.7.11
  • python -V显示Python 2.7.14 :: Anaconda, Inc.
  • 我在谷歌搜索,没有准确的

有没有人对此有解决方法?

0 个答案:

没有答案