Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62552
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'importerror:': 0.07; 'revision': 0.07; 'subject:Error': 0.07; 'occasionally': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sphinx': 0.09; 'subject:while': 0.09; 'windows,': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; 'does,': 0.16; 'mkdir': 0.16; 'pygments': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:doc': 0.16; 'files.': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; '(the': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'module,': 0.24; 'skip:` 20': 0.24; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'along': 0.30; 'doc': 0.31; 'file': 0.32; 'checked': 0.32; 'run': 0.32; 'url:python': 0.33; '(most': 0.33; 'located': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'received:173': 0.61; 'here': 0.66; 'directory:': 0.84; 'received:fios.verizon.net': 0.84; '***': 0.95 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Reedy <tjreedy@udel.edu> |
| Subject | Re: Error while building Python doc |
| Date | Sun, 22 Dec 2013 15:59:11 -0500 |
| References | <CAO_L6qFHy7XTs5s_dY5L3rWAmEPbz5hgMqJBsuoWkdbuXOKmQg@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-173-75-254-207.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
| In-Reply-To | <CAO_L6qFHy7XTs5s_dY5L3rWAmEPbz5hgMqJBsuoWkdbuXOKmQg@mail.gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4509.1387745971.18130.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387745971 news.xs4all.nl 2854 [2001:888:2000:d::a6]:41433 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62552 |
Show key headers only | View raw
On 12/22/2013 1:53 PM, shankha wrote: > 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. Based on my Windows tree, that should be Doc/tools/sphinx/, along with docutils, jinja, and pygments directories. To be a module, sphinx must contain __init__.py, along with other files. > Do I need to change how I import (the path may be). Did you run "make -C Doc checkout" first? (I do not know what the -C does, as I just do "make checkout" and occasionally make update in Doc on Windows, which run Doc/make.bat. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Error while building Python doc Terry Reedy <tjreedy@udel.edu> - 2013-12-22 15:59 -0500
csiph-web