Skip to content

Support for matplotlib? ipython_directive? #552

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

Closed
aldanor opened this issue Nov 23, 2013 · 2 comments
Closed

Support for matplotlib? ipython_directive? #552

aldanor opened this issue Nov 23, 2013 · 2 comments

Comments

@aldanor
Copy link

aldanor commented Nov 23, 2013

Hi there, I was wonder if there was any way to make IPython sphinx extensions work (ipython_directive, ipython_console_highlighting)?

I'm currently getting an ImportError on matplotlib (not using virtualenv):

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

Can't really figure out if #334 is still unresolved? I've seen "numpy/scipy/matplotlib are now supported" somewhere in RTD commits but it doesn't look like matplotlib is importable.

@ericholscher
Copy link
Member

You may be able to fix this with the mocking of C libraries, but i'm not really sure: http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules

@ankostis
Copy link
Contributor

ankostis commented Nov 3, 2014

No, this does not fix the problem, but just avoids building plots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants