-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
I installed matplotlib to Python 3.5 on OS X 10.6 with "pip install --pre matplotlib", ran following code
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()and got
Traceback (most recent call last):
File "/Users/aivar/Downloads/makinggames/plo.py", line 1, in <module>
import matplotlib.pyplot as plt
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/colorbar.py", line 36, in <module>
import matplotlib.contour as contour
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/contour.py", line 23, in <module>
import matplotlib.text as text
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/text.py", line 33, in <module>
from matplotlib.backend_bases import RendererBase
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/backend_bases.py", line 63, in <module>
import matplotlib.textpath as textpath
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/textpath.py", line 20, in <module>
from matplotlib.mathtext import MathTextParser
File "/Users/aivar/.thonny/lib/python/site-packages/matplotlib/mathtext.py", line 62, in <module>
import matplotlib._png as _png
ImportError: dlopen(/Users/aivar/.thonny/lib/python/site-packages/matplotlib/_png.cpython-35m-darwin.so, 2): Symbol not found: _inflateReset2
Referenced from: /Users/aivar/.thonny/lib/python/site-packages/matplotlib/.dylibs/libpng16.16.dylib
Expected in: /usr/lib/libz.1.dylib
in /Users/aivar/.thonny/lib/python/site-packages/matplotlib/.dylibs/libpng16.16.dylibReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels