I am getting this error on using matplotlib
Posted
by
Arun Abraham
on Stack Overflow
See other posts from Stack Overflow
or by Arun Abraham
Published on 2012-10-28T16:09:05Z
Indexed on
2012/10/28
17:00 UTC
Read the original article
Hit count: 677
I get this error on typing this in python command prompt: import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import matplotlib.pyplot as plt
File "/Library/Python/2.7/site-packages/matplotlib-1.3.x-py2.7-macosx-10.8-intel.egg/matplotlib/pyplot.py", line 97, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/Library/Python/2.7/site-packages/matplotlib-1.3.x-py2.7-macosx-10.8-intel.egg/matplotlib/backends/__init__.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/Library/Python/2.7/site-packages/matplotlib-1.3.x-py2.7-macosx-10.8-intel.egg/matplotlib/backends/backend_macosx.py", line 21, in <module>
from matplotlib.backends import _macosx
ImportError: dlopen(/Library/Python/2.7/site-packages/matplotlib-1.3.x-py2.7-macosx-10.8-intel.egg/matplotlib/backends/_macosx.so, 2): Library not loaded: /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
Referenced from: /Library/Python/2.7/site-packages/matplotlib-1.3.x-py2.7-macosx-10.8-intel.egg/matplotlib/backends/_macosx.so
Reason: image not found
Can someone suggest me, how i can fix this ? I had installed all the packages with this shell script
https://github.com/fonnesbeck/ScipySuperpack
Is there anything that i am missing ? Any additional configuration ?
© Stack Overflow or respective owner