[SciPy-User] [Scipy-User] Building Scipy Docs

Ralf Gommers ralf.gommers at googlemail.com
Wed Jul 20 13:11:37 EDT 2011


On Wed, Jul 20, 2011 at 6:27 PM, Christopher Jordan-Squire
<cjordan1 at uw.edu>wrote:

> I'm trying to build the html scipy docs and it keeps failing.
>
> In the docs directory here's what I run and the output.
>
> >make html
>
> mkdir -p build/html build/doctrees
> LANG=C sphinx-build -b html -d build/doctrees   source build/html
> Running Sphinx v1.0.7
> Scipy (VERSION 0.10.dev) (RELEASE 0.10.0.dev)
>
> Extension error:
> Could not import extension plot_directive (exception: No module named
> plot_directive)
> make: *** [html] Error 1
>
> I can't figure out why it's failing. The plot_directive stuff is mentioned
> in the numpy docs documents, but nowhere in the scipy docs documents. And
> the numpy docs are building fine.
>
> I'm running scipy 0.10.0 dev, numpy 2.0.0 dev and matplotlib 1.0.1, sphinx
> 1.0.7, and numpydoc 0.4 on Ubuntu 10.10.
>
> Any ideas what's happening?
>
> If you can build the numpy docs your setup should be fine. But scipy relies
on the Sphinx extensions in the numpy tree. The scipy release script does
this before building the docs:

mkdir doc/sphinxext
cp -R ../numpy/doc/sphinxext/ doc/sphinxext/

Cheers,
Ralf
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110720/b76263c0/attachment.html>


More information about the SciPy-User mailing list