Error while building Python doc

S

shankha

Hi,
I am trying to build Python documents as listed here

http://docs.python.org/devguide/documenting.html#building-the-documentation

make -C Doc html

Error message:
Checked out revision 89010.
mkdir -p build/html build/doctrees
python tools/sphinx-build.py -b html -d build/doctrees -D
latex_paper_size= . build/html
Traceback (most recent call last):
File "tools/sphinx-build.py", line 27, in <module>
from sphinx import main
ImportError: No module named sphinx
make: *** [build] Error 1
make: Leaving directory `Python-git/cpythonL-doc/Doc'


Sphinx is located inside the directory:

Doc/tools.

Do I need to change how I import (the path may be).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top