Unable to import matplotlib.pylab in Windows

Please check if there are python26.dll or "Microsoft.VC90.CRT.manifest" files left in your Python directory. If yes, remove those files.

If that does not help, run Dependency Walker on python26.dll (should be in your system folder), enable "Full Paths" view and report the MSVCR90.DLL path. It should be <c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.DLL>

I assume the missing DWMAPI.DLL and EFSADU.DLL dependencies come from IE7/8 and can be ignored.

Christoph

OK, I did the check that you mentioned (deleted the entire directory C:\Python26 before reinstalling Python). That didn't help.

I ran Dependency Walker on _path.pyd and got the following:

First, it lists the four DLLs that it did not find: MSVCR90.DLL, MSVCP90.DLL, DWMAPI.DLL, EFSADU.DLL.

Further down, I see the following entry:
c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.DLL

and I did verify that the file is present at that location.

The location is somewhat different from what you have shown below. Does that matter?
I don't know why the same file MSVCR90.DLL shows up first in the "not found" category and then later with the proper location.

For a different data point, in a Windows Vista installation, Python 2.6 + numpy 1.3.0 + matplotlib 0.99.1 works fine and I do not have this problem. The problem seems to be restricted to Windows XP.

Dilip.

ยทยทยท

----- Original Message ----
From: Christoph Gohlke <cgohlke@...2143...>
To: matplotlib-users <matplotlib-users@lists.sourceforge.net>
Sent: Mon, November 23, 2009 2:55:51 PM
Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

Please check if there are python26.dll or "Microsoft.VC90.CRT.manifest"
files left in your Python directory. If yes, remove those files.

If that does not help, run Dependency Walker on python26.dll (should be
in your system folder), enable "Full Paths" view and report the
MSVCR90.DLL path. It should be
<c:\windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4926_none_508ed732bcbc0e5a\MSVCR90.DLL>

I assume the missing DWMAPI.DLL and EFSADU.DLL dependencies come from
IE7/8 and can be ignored.

Christoph

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users