Hi everyone,
I'm encountering the following error when trying to build my docs using 
napolean:

(DataSTORM)douglass@lebpc18:~/src/bstore/docs$ make html
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.4.4

Extension error:
Could not import extension sphinx.ext.napolean (exception: No module named 
'sphinx.ext.napolean')
Makefile:58: recipe for target 'html' failed
make: *** [html] Error 1

The problem is, I can find Napolean inside my site-packages for the 
DataSTORM environment:

(DataSTORM)douglass@lebpc18:~$ ls ~/anaconda3/envs/DataSTORM/lib/python3.5/
site-packages/sphinx/ext/na
poleon/
docstring.py  __init__.py  iterators.py  __pycache__

I cannot, however, import Napolean from inside the Python interpreter:

(DataSTORM)douglass@lebpc18:~$ python
Python 3.5.2 |Continuum Analytics, Inc.| (default, Jul  2 2016, 17:53:06) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sphinx
>>> import sphinx.ext
>>> import sphinx.ext.napolean
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'sphinx.ext.napolean'

I have added sphinx.ext.napolean to my conf.py as instructed:

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.doctest',
    'sphinx.ext.napolean',
]

This happens if I use Sphinx 1.4.1 installed from Anaconda or if I use the 
more recent 1.4.4 installed from pip. Does anyone know what the problem 
might be? Do I have to recreate the Makefile if I added sphinx.ext.napolean 
to the extensions variable after I created conf.py and the Makefile with 
sphinx.quickstart?

Thanks!
kmd

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to