我已经关注了 guide .
$ pip install sphinx sphinx-autobuild
$ pip freeze | grep "sphinx"
sphinx-autobuild==0.6.0
sphinxcontrib-websupport==1.0.0
$ cd docs
$ sphinx-quickstart
$ make html
make html 给出以下错误:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named sphinx
make: *** [help] Error 1
[问]如何防止此错误发生?
感谢您宝贵的时间和帮助。
请您参考如下方法:
我遇到了同样的问题,我认为分享我找到的解决方案可能会有所帮助。
打开 Makefile 文件,并更改以下行:
SPHINXBUILD = python -msphinx
给这个:
SPHINXBUILD = python3 -msphinx
