Skip to content Skip to sidebar Skip to footer

Matplotlib.pyplot On Os X With 64-bit Python From Python.org

I just installed numpy and matplotlib on my OS X 10.6.6. I have Python 2.7 from Python.org. When I do an import matplotlib.pyplot, I get the following error: ImportError: dlopen(/L

Solution 1:

If you want an easy, out of the box solution: The Enthought Python Distribution 7.0 (64-bit academic version) worked great for me on Mac OS X Leopard, including Python 2.7, numpy, and matplotlib: https://www.enthought.com/products/epd.php

Solution 2:

According to this mailing list message, the current matplotlib version from the installer is itself not compatible with the 64-bit version of Python from python.org, so you need the 32-bit version.

On the other hand, the ScipySuperpack installs a development version of matplotlib that works with 64 bit Python.

Solution 3:

I think the matplotlib package is not in your sys.path at all.Delete your matplotlib completely,and reinstall it again.

Solution 4:

With Python 2.7.2, you can use ActiveTcl, and use IDLE ... See this note: http://www.python.org/download/mac/tcltk/

Post a Comment for "Matplotlib.pyplot On Os X With 64-bit Python From Python.org"