[Matplotlib-users] ImportError: DLL load failed: The specified module could not be found (related to png16.dll)
I am still trying to build matplotlib on windows. The instructions on 1717 were very helpful, I managed to build the prerequisites manually based on the instructions in the dep_build.cmd that came from matplotlib-winbuild project. But when I try to run it I get this error message: import matplotlib.pyplot as plt Traceback (most recent call last): File stdin, line 1, in module File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\pyplot.py, line 27, in module import matplotlib.colorbar File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\colorbar.py, line 34, in module import matplotlib.collections as collections File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\collections.py, line 27, in module import matplotlib.backend_bases as backend_bases File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\backend_bases.py, line 56, in module import matplotlib.textpath as textpath File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\textpath.py, line 22, in module from matplotlib.mathtext import MathTextParser File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\mathtext.py, line 63, in module import matplotlib._png as _png ImportError: DLL load failed: The specified module could not be found. I am guessing it doesn't like the filename of the png16.dll file, but how do I know what filename it is looking for? I noticed I had to rename a bunch of .lib files in order to build matplotlib from source, but that was OK since the error message said what file it was looking for. How do I determine the correct filename to use from here? -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ImportError: DLL load failed: The specified module could not be found (related to png16.dll)
On 7/2/2014 11:46 AM, Alan Ezust wrote: I am still trying to build matplotlib on windows. The instructions on 1717 were very helpful, I managed to build the prerequisites manually based on the instructions in the dep_build.cmd that came from matplotlib-winbuild project. But when I try to run it I get this error message: import matplotlib.pyplot as plt Traceback (most recent call last): File stdin, line 1, in module File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\pyplot.py, line 27, in module import matplotlib.colorbar File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\colorbar.py, line 34, in module import matplotlib.collections as collections File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\collections.py, line 27, in module import matplotlib.backend_bases as backend_bases File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\backend_bases.py, line 56, in module import matplotlib.textpath as textpath File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\textpath.py, line 22, in module from matplotlib.mathtext import MathTextParser File C:\Python33\lib\site-packages\matplotlib-1.4.x-py3.3-win32.egg\matplotlib\mathtext.py, line 63, in module import matplotlib._png as _png ImportError: DLL load failed: The specified module could not be found. I am guessing it doesn't like the filename of the png16.dll file, but how do I know what filename it is looking for? I noticed I had to rename a bunch of .lib files in order to build matplotlib from source, but that was OK since the error message said what file it was looking for. How do I determine the correct filename to use from here? It's better to use the static libraries for libpng, zlib, and freetype (unless you have reasons not to). Rename the .lib files as in the build script: https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L236 https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L214 https://github.com/jbmohler/matplotlib-winbuild/blob/master/build_dep.cmd#L247 Christoph -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installation problem
I installed using version 1.3.1 windows binary matplotlib-1.3.1.win32-py2.7.exe from mathplotlib download. Installation went fine, but when using the package, it says dateutil and pyparsing are missing, which are supposed to be bundled according to the installation instruction. Is this a bug or expected behavior from now on? I did not have this issue for earlier versions of matplotlib. My base python is 2.7.8. If anyone is having the issue, either download the binaries from pythonlibs mentioned above, or install from the sources, which I did as follows: (1) Install setuptools if you don't have it. Download source from https://pypi.python.org/pypi/setuptools; Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install' This will install setuptools. (2) Install any other package by downloading the source, unpacking, and running 'setup.py install' e.g., dateutil has been installed this way. https://pypi.python.org/pypi/python-dateutil, same for pyparsing -- View this message in context: http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users