Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not import extension matplotlib.sphinxext.ipython_directive #914

Closed
shimizukawa opened this issue Jan 3, 2015 · 1 comment
Closed

Comments

@shimizukawa
Copy link
Member

Hi Georg,

My sphinx documentation stopped working with matplotlib after I upgraded my ubuntu to version 12.10. I am not sure what happened. Here is the error message it produced after I ran "make html":

make html
sphinx-build -b html -d _build/doctrees . _build/html
/usr/local/bin/sphinx-build:5: UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path
from pkg_resources import load_entry_point
Running Sphinx v1.1.3

Extension error:
Could not import extension matplotlib.sphinxext.ipython_directive (exception: No module named ipython_directive)

make: *** [html] Error 1

Hope this will help the development.

Thank you!

Jinbo Wang


@shimizukawa
Copy link
Member Author

From Marc Schlaich on 2012-05-08 12:36:50+00:00

This is not a bug in sphinx. This error is due to the changes of matplotlib, they removed the {{{matplotlib.sphinxext.ipython_directive}}} module. It can be found at https://github.com/ipython/ipython/blob/master/docs/sphinxext/ipython_directive.py.

See these issue for further details:

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant