MatPlotLib won't plot

Just installed matplotlib, it doesn't plot the basic plot.py:

from pylab import *
plot([1,2,3])
show()

Here's the results:

C:\Projects\Python>python simple-plot.py --verbose-helpful
$HOME=X:\
CONFIGDIR=X:\.matplotlib
matplotlib data path C:\Python25\lib\site-packages\matplotlib\mpl-data
loaded rc file C:\Python25\lib\site-packages\matplotlib\mpl-data\matplotlibrc
matplotlib version 0.98.3
verbose.level helpful
interactive is False
units is False
platform is win32

I also get a popup window with this text:

"This application has failed to start because MSVCP71.dll was not found.
Re-installing the application may fix this problem."

As far as I can tell, this is a Visual C++ library from .NET 2003.

My laptop is running Windows 2008 (64-bit) with the .NET 3.0 framework.

I have already removed site-packages/matplotlib and reinstalled, with
the same results.

Let me know if I should be reporting anything else not listed on:

http://matplotlib.sourceforge.net/faq.html

Thanks!

Adam

···

--
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu

Can you search your system and see if you have that dll installed somewhere. Most likely you will. If you find it, go to the command prompt and change to the directory where the dll is. Then run this command:

Regsvr32 msvcp71.dll

(I don’t know if your 64-bit machine uses the command Regsvr64, so try that too)

  • Charlie
···

On Sun, Aug 10, 2008 at 2:50 AM, Adam Getchell <adam.getchell@…287…> wrote:

Just installed matplotlib, it doesn’t plot the basic plot.py:

from pylab import *

plot([1,2,3])

show()

Here’s the results:

C:\Projects\Python>python simple-plot.py --verbose-helpful

$HOME=X:\

CONFIGDIR=X:.matplotlib

matplotlib data path C:\Python25\lib\site-packages\matplotlib\mpl-data

loaded rc file C:\Python25\lib\site-packages\matplotlib\mpl-data\matplotlibrc

matplotlib version 0.98.3

verbose.level helpful

interactive is False

units is False

platform is win32

I also get a popup window with this text:

"This application has failed to start because MSVCP71.dll was not found.

Re-installing the application may fix this problem."

As far as I can tell, this is a Visual C++ library from .NET 2003.

My laptop is running Windows 2008 (64-bit) with the .NET 3.0 framework.

I have already removed site-packages/matplotlib and reinstalled, with

the same results.

Let me know if I should be reporting anything else not listed on:

http://matplotlib.sourceforge.net/faq.html

Thanks!

Adam

“Invincibility is in oneself, vulnerability in the opponent.” – Sun Tzu


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge

Build the coolest Linux based applications with Moblin SDK & win great prizes

Grand prize is a trip for two to an Open Source event anywhere in the world

http://moblin-contest.org/redirect.php?banner_id=100&url=/


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

What is surprising is that this is the library Python uses, so it must
be located at c:\pythonXXX. This path should be in the PATH variable.

So the system finds the library, but not python ??

Matthieu

2008/8/10 Adam Getchell <adam.getchell@...287...>:

···

Just installed matplotlib, it doesn't plot the basic plot.py:

from pylab import *
plot([1,2,3])
show()

Here's the results:

C:\Projects\Python>python simple-plot.py --verbose-helpful
$HOME=X:\
CONFIGDIR=X:\.matplotlib
matplotlib data path C:\Python25\lib\site-packages\matplotlib\mpl-data
loaded rc file C:\Python25\lib\site-packages\matplotlib\mpl-data\matplotlibrc
matplotlib version 0.98.3
verbose.level helpful
interactive is False
units is False
platform is win32

I also get a popup window with this text:

"This application has failed to start because MSVCP71.dll was not found.
Re-installing the application may fix this problem."

As far as I can tell, this is a Visual C++ library from .NET 2003.

My laptop is running Windows 2008 (64-bit) with the .NET 3.0 framework.

I have already removed site-packages/matplotlib and reinstalled, with
the same results.

Let me know if I should be reporting anything else not listed on:

http://matplotlib.sourceforge.net/faq.html

Thanks!

Adam
--
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and Forum du club des développeurs et IT Pro - Messages des blogs récents - Blogs
LinkedIn : http://www.linkedin.com/in/matthieubrucher

On Sun, Aug 10, 2008 at 7:29 AM, Charlie Moad

Can you search your system and see if you have that dll installed somewhere.
Most likely you will. If you find it, go to the command prompt and change
to the directory where the dll is. Then run this command:
Regsvr32 msvcp71.dll

Thanks for the suggestion.

I didn't have msvcp71.dll on my system, so I went here to download it:

http://www.driverskit.com/dll/msvcp71.dll/2371.html

Once I placed it in the python directory, C:\Python25 (next to the
msvcr71.dll), it worked fine.

Perhaps the matplotlib installer for 64-bit Vista/Windows 2008 (if
there ever is one) should include this file (or check for it)?

Thanks again for the help!

- Charlie

Adam

···

--
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu