python - ImportError: libpng16.so.16: cannot open shared object file: No such file or directory -
python - ImportError: libpng16.so.16: cannot open shared object file: No such file or directory -
although has come topic before has not been answered. next import error have installed canopy epd , after installed it, keeps coming next error:
ipython 2.1.0 -- enhanced interactive python. ? -> introduction , overview of ipython's features. %quickref -> quick reference. help -> python's own help system. object? -> details 'object', utilize 'object??' details. [terminalipythonapp] warning | eventloop or matplotlib integration failed. matplotlib installed? --------------------------------------------------------------------------- importerror traceback (most recent phone call last) /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/ipython/core/shellapp.pyc in <lambda>(key) 231 shell = self.shell 232 if self.pylab: --> 233 enable = lambda key: shell.enable_pylab(key, import_all=self.pylab_import_all) 234 key = self.pylab 235 elif self.matplotlib: /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/ipython/core/interactiveshell.pyc in enable_pylab(self, gui, import_all, welcome_message) 2980 ipython.core.pylabtools import import_pylab 2981 -> 2982 gui, backend = self.enable_matplotlib(gui) 2983 2984 # want prevent loading of pylab pollute user's /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/ipython/core/interactiveshell.pyc in enable_matplotlib(self, gui) 2941 gui, backend = pt.find_gui_and_backend(self.pylab_gui_select) 2942 -> 2943 pt.activate_matplotlib(backend) 2944 pt.configure_inline_support(self, backend) 2945 /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/ipython/core/pylabtools.pyc in activate_matplotlib(backend) 285 matplotlib.rcparams['backend'] = backend 286 --> 287 import matplotlib.pyplot 288 matplotlib.pyplot.switch_backend(backend) 289 /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/matplotlib/pyplot.py in <module>() 22 23 import matplotlib ---> 24 import matplotlib.colorbar 25 matplotlib import _pylab_helpers, interactive 26 matplotlib.cbook import dedent, silent_list, is_string_like, is_numlike /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/matplotlib/colorbar.py in <module>() 27 import matplotlib.artist martist 28 import matplotlib.cbook cbook ---> 29 import matplotlib.collections collections 30 import matplotlib.colors colors 31 import matplotlib.contour contour /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/matplotlib/collections.py in <module>() 21 import matplotlib.artist artist 22 matplotlib.artist import allow_rasterization ---> 23 import matplotlib.backend_bases backend_bases 24 import matplotlib.path mpath 25 matplotlib import _path /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/matplotlib/backend_bases.py in <module>() 48 49 import matplotlib.tight_bbox tight_bbox ---> 50 import matplotlib.textpath textpath 51 matplotlib.path import path 52 matplotlib.cbook import mpldeprecation /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/matplotlib/textpath.py in <module>() 9 matplotlib.path import path 10 matplotlib import rcparams ---> 11 import matplotlib.font_manager font_manager 12 matplotlib.ft2font import ft2font, kerning_default, load_no_hinting 13 matplotlib.ft2font import load_target_light /home/rhys/documents/uni_work/year_2_research_placement/user/lib/python2.7/site-packages/matplotlib/font_manager.py in <module>() 51 import matplotlib 52 matplotlib import afm ---> 53 matplotlib import ft2font 54 matplotlib import rcparams, get_cachedir 55 matplotlib.cbook import is_string_like importerror: libpng16.so.16: cannot open shared object file: no such file or directory
i have tried reinstalling matplotlib still comes error , cannot find libpng16.so.16 file in \usr\local\lib, can help?
check canopy's bundle manager. create sure matplotlib 1.3.1-8
bundle installed.
an older version of matplotlib
installed. check updates section , update canopy
.
python matplotlib
Comments
Post a Comment