SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Craig M. <mcq...@ed...> - 2010年05月31日 09:10:57
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
From: Christoph G. <cg...@uc...> - 2010年05月31日 17:50:15
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
From: Craig M. <mcq...@ed...> - 2010年05月31日 23:54:12
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
From: Christoph G. <cg...@uc...> - 2010年06月01日 00:56:32
On 5/31/2010 4:53 PM, Craig McQueen wrote:
> 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
>
Yes, numpy has a C API, which is used by MPL.
I can confirm the crashes with numpy 1.3.
John: I rebuilt the 32 bit binaries for Python 2.5 and 2.6 against numpy 
1.3.0. They do also work with numpy 1.4.1. Please consider uploading 
these binaries to the SF site. I also noticced that the eggs on the SF 
download site are corrupted, showing only 1.6 KB. The updated files are 
at <http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib>. Thanks.
--
Christoph
From: John H. <jd...@gm...> - 2010年06月01日 02:45:19
On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlke <cg...@uc...> wrote:
> John: I rebuilt the 32 bit binaries for Python 2.5 and 2.6 against numpy
> 1.3.0. They do also work with numpy 1.4.1. Please consider uploading these
> binaries to the SF site. I also noticced that the eggs on the SF download
> site are corrupted, showing only 1.6 KB. The updated files are at
> <http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib>. Thanks.
Hey Christoph -- I just updated the win32 binaries again. Thanks for
the rebuild. The sf upload page is extremely fragile and flaky, so
I'm not surprised a corrupted binary got uploaded. I made sure the
uploads completed this time -- hopefully they are now good but take a
look.
JDH
From: Christoph G. <cg...@uc...> - 2010年06月01日 03:12:41
On 5/31/2010 7:45 PM, John Hunter wrote:
> On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlke<cg...@uc...> wrote:
>
>> John: I rebuilt the 32 bit binaries for Python 2.5 and 2.6 against numpy
>> 1.3.0. They do also work with numpy 1.4.1. Please consider uploading these
>> binaries to the SF site. I also noticced that the eggs on the SF download
>> site are corrupted, showing only 1.6 KB. The updated files are at
>> <http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib>. Thanks.
>
> Hey Christoph -- I just updated the win32 binaries again. Thanks for
> the rebuild. The sf upload page is extremely fragile and flaky, so
> I'm not surprised a corrupted binary got uploaded. I made sure the
> uploads completed this time -- hopefully they are now good but take a
> look.
>
looks good to me.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /