Skip to content Skip to sidebar Skip to footer

I Uninstalled Matplotlib, Tried To Reinstall It And It Failed To Be Imported. [OS X]

What I have understood since trying to fix this is that I installed matplotlib but python does not utilize it to plot something. I encountered some error messages like this: from m

Solution 1:

Here information.

>>> import pkgutil
>>> package = pkgutil.get_loader("matplotlib")
>>> package.filename
'/usr/local/lib/python2.7/dist-packages/matplotlib'
>>> 

So where your "matplotlib" ?

COPY :

/Users/changhyunahn/anaconda/lib/python2.7/site-packages/matplotlib-1.5.dev1-p‌‌​​y2.7-macosx-10.5-x86_64.egg

TO : /usr/local/lib/python2.7/site-packages/ OR TO:

/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/

Post a Comment for "I Uninstalled Matplotlib, Tried To Reinstall It And It Failed To Be Imported. [OS X]"