Hi Ethan,
Thanks for letting us know about this problem with our dmg. According to
this post
http://stackoverflow.com/questions/24768145/matplotlib-import-error-ft2font
the problem is caused because Matplotlib 1.3 (as it's normally built) is
incompatible with MacOS X 10.6. The solution is not that hard to
implement, so I'll fix for 2.3.1 (to be released this weekend).
Cheers,
Carlos
El 26/08/14 a las #4, Ethan Batson escribió:
Hello!
I just started trying to learn Python using the spyder environment (I
do astrophysics research and am tired of other languages and graphing
applications).
I am simply trying to utilize matplotlib, which I believe should be
included with Spyder, but on 3 separate machines now I get the same
error, included below.
I have used the Mac OSX .dmg installation for all of the attempts, and
I believe all computers have been running 10.6.8.
I simply type, in console, "from matplotlib.pyplot import *" which
leads to:
">>> from matplotlib.pyplot import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/pyplot.py",
line 24, in <module>
import matplotlib.colorbar
File
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/colorbar.py",
line 29, in <module>
import matplotlib.collections as collections
File
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/collections.py",
line 23, in <module>
import matplotlib.backend_bases as backend_bases
File
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/backend_bases.py",
line 50, in <module>
import matplotlib.textpath as textpath
File
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/textpath.py",
line 11, in <module>
import matplotlib.font_manager as font_manager
File
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/font_manager.py",
line 53, in <module>
from matplotlib import ft2font
ImportError:
dlopen(/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/ft2font.so,
2): Symbol not found: _inflateReset2
Referenced from:
/Applications/Spyder.app/Contents/MacOS/../Frameworks/libpng16.16.dylib
Expected in: /usr/lib/libz.1.dylib
in
/Applications/Spyder.app/Contents/MacOS/../Frameworks/libpng16.16.dylib"
I was hoping someone could help me out, thank you!
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.