Error while building Python doc

shankha shankhabanerjee at gmail.com
Sun Dec 22 13:53:27 EST 2013


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).

 --
Thanks
Gudge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20131223/d89c9e3c/attachment.html>


More information about the Python-list mailing list