Christoph Gohlke wrote:
>
> On 5/31/2010 1:53 AM, Craig McQueen wrote:
>>   I just installed matplotlib-0.99.3.win32-py2.6.exe on this Win2000 PC.
>> When I try:
>>      from matplotlib import pyplot as plt
>>
>> it crashes Python with an apparent NULL-pointer reference. If I run
>>      python -v
>>
>> then it crashes just after:
>> # c:\python26\lib\site-packages\matplotlib\transforms.pyc matches
>> c:\python26\li
>> b\site-packages\matplotlib\transforms.py
>> import matplotlib.transforms # precompiled from
>> c:\python26\lib\site-packages\ma
>> tplotlib\transforms.pyc
>>
>> matplotlib-0.99.1.win32-py2.6.exe worked fine on this PC.
>>
>> Regards,
>> Craig McQueen
>
>
> I can not reproduce the crash in a Virtual Machine with Windows 2000 
> SP4, Python 2.6.5, numpy 1.4.1, and matplotlib 0.99.3.
>
> Exactly which versions are you using, and how did you install Python 
> (for all users?). What is your CPU?
>
> matplotlib-0.99.3.win32-py2.6 was built against numpy 1.4.1, libpng 
> 1.4.2 and zlib 1.2.5, while matplotlib-0.99.1.win32-py2.6 was built 
> against numpy 1.3.0, libpng 1.2.3x, and zlib 1.2.3.
>
> Christoph
>

Ah--installing numpy 1.4.1 fixed the issue. I had numpy 1.3.0 installed 
before that.

Thanks for such a helpful response. I wasn't aware that matplotlib is 
"built against" a particular version of numpy (not quite sure what that 
means either, unless numpy provides a direct C API as well as the Python 
API; please excuse my ignorance).

(To answer your questions in case that's still useful somehow... I'm 
using Windows 2000 SP4, Python 2.6.5, on a Pentium 4 PC. I installed 
Python for all users.)

Thanks and regards,
Craig McQueen


------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to