MSVCP71.dll required by matplotlib

Hello.

I have got this error on a very clean installation of Windows 98SE and matplotlib 0.87.4 / numpy 0.9.8 / official python 2.4.

from pylab import *

The import of the numpy version of the _transforms module,

_ns_transforms, failed. This is is either because numpy was
unavailable when matplotlib was compiled, because a dependency of
_ns_transforms could not be satisfied, or because the build flag for
this module was turned off in setup.py. If it appears that
_ns_transforms was not built, make sure you have a working copy of
numpy and then re-install matplotlib. Otherwise, the following
traceback gives more details:

Traceback (most recent call last):

File “<pyshell#0>”, line 1, in ?
from pylab import *
File “C:\Python24\Lib\site-packages\pylab.py”, line 1, in ?
from matplotlib.pylab import *
File “C:\Python24\Lib\site-packages\matplotlib\pylab.py”, line 200, in ?

from axes import Axes, PolarAxes

File “C:\Python24\Lib\site-packages\matplotlib\axes.py”, line 14, in ?
from artist import Artist, setp
File “C:\Python24\Lib\site-packages\matplotlib\artist.py”, line 4, in ?

from transforms import identity_transform

File “C:\Python24\Lib\site-packages\matplotlib\transforms.py”, line 215, in ?
from _transforms import Value, Point, Interval, Bbox, Affine
File “C:\Python24\Lib\site-packages\matplotlib_transforms.py”, line 17, in ?

from matplotlib._ns_transforms import *

ImportError: DLL load failed: Não é possível encontrar um dos arquivos de biblioteca necessário para executar esse aplicativo.

(free translation → DLL load failed: Couldn’t find one of the files of the library needed to run this program)

I have searched for it and found this post http://mail.enthought.com/pipermail/enthought-dev/2006-May/001597.html, that seems so much like my problem, except that it is using Numeric not numpy.

Also, i found this post http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg00502.html that could be related to my problem.

So, I decided to pull this DLL from the web and throw at C:\Windows\System. Then, everything worked fine.

This confirms Christopher Barker suspicions (
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg00523.html
) that it is a DLL not shipped with stock Windows but some other program would install it (that is what nobody complained about the missing DLL).

I think matplotlib should ship this DLL, as a lot of other programs do…

···


Best regards
Leandro Lameiro

Blog: http://lameiro.redirectme.net/blog

We used to explicitly remove the link when we used mingw for the
python2.4 build. The VS build didn't seem to suffer from the problem,
but not these reports are coming up. I might try removing the link
again. Otherwise I will look into including it.

- Charlie

···

On 8/17/06, Leandro Lameiro <lameiro@...287...> wrote:

Hello.

I have got this error on a very clean installation of Windows 98SE and
matplotlib 0.87.4 / numpy 0.9.8 / official python 2.4.

>>> from pylab import *

The import of the numpy version of the _transforms module,
_ns_transforms, failed. This is is either because numpy was
unavailable when matplotlib was compiled, because a dependency of
_ns_transforms could not be satisfied, or because the build flag for
this module was turned off in setup.py. If it appears that
_ns_transforms was not built, make sure you have a working copy of
numpy and then re-install matplotlib. Otherwise, the following
traceback gives more details:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in ?
    from pylab import *
  File "C:\Python24\Lib\site-packages\pylab.py", line 1, in
?
    from matplotlib.pylab import *
  File "C:\Python24\Lib\site-packages\matplotlib\pylab.py",
line 200, in ?
    from axes import Axes, PolarAxes
  File "C:\Python24\Lib\site-packages\matplotlib\axes.py",
line 14, in ?
    from artist import Artist, setp
  File
"C:\Python24\Lib\site-packages\matplotlib\artist.py", line
4, in ?
    from transforms import identity_transform
  File
"C:\Python24\Lib\site-packages\matplotlib\transforms.py",
line 215, in ?
    from _transforms import Value, Point, Interval, Bbox, Affine
  File
"C:\Python24\Lib\site-packages\matplotlib\_transforms.py",
line 17, in ?
    from matplotlib._ns_transforms import *
ImportError: DLL load failed: Não é possível encontrar um dos arquivos de
biblioteca necessário para executar esse aplicativo.

(free translation -> DLL load failed: Couldn't find one of the files of the
library needed to run this program)

I have searched for it and found this post
http://mail.enthought.com/pipermail/enthought-dev/2006-May/001597.html,
that seems so much like my problem, except that it is using Numeric not
numpy.

Also, i found this post
[Matplotlib-users] Missing dll in windows build 0.87.4
that could be related to my problem.

So, I decided to pull this DLL from the web and throw at C:\Windows\System.
Then, everything worked fine.

This confirms Christopher Barker suspicions (
Re: [Matplotlib-users] Missing dll in windows build 0.87.4
) that it is a DLL not shipped with stock Windows but some other program
would install it (that is what nobody complained about the missing DLL).

I think matplotlib should ship this DLL, as a lot of other programs do...

--
Best regards
Leandro Lameiro

Blog: http://lameiro.redirectme.net/blog
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options