Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
Thanks, Christoph. I confirmed that this build solves the problem. Dilip. - Original Message From: Christoph Gohlke cgoh...@uci.edu To: matplotlib-users matplotlib-users@lists.sourceforge.net Sent: Tue, November 24, 2009 5:55:03 PM Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows I was able to reproduce your problem on one of our Pentium III computers and traced it down to a bug in the _path module initialization function (will file a separate bug report). Please try again installing the updated matplotlib-0.99.1.1.win32-py2.6.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib. 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 -- 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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
I was able to reproduce your problem on one of our Pentium III computers and traced it down to a bug in the _path module initialization function (will file a separate bug report). Please try again installing the updated matplotlib-0.99.1.1.win32-py2.6.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib. 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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
Christoph, I couldn't get it to work after this download either. Same problem as before. After that, I tried the following: 1. Upgraded to XP Service Pack 3. 2. Uninstalled Python 2.6 and all related packages. 3. Reinstalled Python 2.6.4 with Install for all users set. 4. Reinstalled Numpy 1.3.0. 5. Reinstalled Matplotlib 0.99.1. (all installations from binaries from sourceforge) That didn't help either. Is there any better debug information I can provide (trace or something)? The output of python -v seems rather insufficient. Thanks, Dilip. - Original Message From: Christoph Gohlke cgoh...@uci.edu To: matplotlib-users matplotlib-users@lists.sourceforge.net Sent: Sun, November 22, 2009 10:08:21 PM Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows Try installing the Microsoft Visual C++ 2008 Redistributable Package (x86) http://www.microsoft.com/downloadS/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BFdisplaylang=en. This is usually installed during the installation of Python in the Install For All Users mode. 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 -- 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
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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
Just to be clear: import numpy, matplotlib works fine? Alan Isaac -- 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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
Yes. import numpy, matplotlib works fine. import matplotlib.pylab does not work. Thanks, Dilip. - Original Message From: Alan G Isaac alan.is...@gmail.com To: matplotlib-users@lists.sourceforge.net Sent: Mon, November 23, 2009 2:56:55 PM Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows Just to be clear: import numpy, matplotlib works fine? Alan Isaac -- 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 -- 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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
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 cgoh...@uci.edu 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 -- 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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
Should have asked this before: Does your computer's CPU have SSE2 extensions? You can use CPU-Z http://www.cpuid.com/. It is OK that Dependency Walker does not find MSVCR90.DLL and MSVCP90.DLL for a PYD extension. The extension will use whatever VC90.CRT python26.dll uses at runtime. I am not able to reproduce your problem using a fresh Windows XP SP3, Python 2.6.4, numpy 1.3.0, matplotlib 0.99.1 installation in VirtualPC. If you don't mind, would you try installing matplotlib-0.99.1.1.win32-py2.6.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib. This build has SSE2 disabled and a manifest for VC90.CRT embedded, which explicitly specifies the VC90.CRT to use. 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
Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows
Try installing the Microsoft Visual C++ 2008 Redistributable Package (x86) http://www.microsoft.com/downloadS/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BFdisplaylang=en. This is usually installed during the installation of Python in the Install For All Users mode. 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