I have followed following 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
gives following error:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named sphinx
make: *** [help] Error 1
[Q] How could I prevent this error from happening?
Thank you for your valuable time and help.
I had the same issue, and I thought it might be helpful to share the solution I found.
Open the Makefile file, and change the following line:
SPHINXBUILD = python -msphinx
To this one:
SPHINXBUILD = python3 -msphinx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With