[Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread Craig McQueen
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


--

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


Re: [Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread Christoph Gohlke


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

--

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


Re: [Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread Craig McQueen
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


Re: [Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread Christoph Gohlke


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




--

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


Re: [Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread John Hunter
On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlke cgoh...@uci.edu 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

--

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


Re: [Matplotlib-users] Matplotlib 0.99.3 win32 py2.6 crashes on import

2010-05-31 Thread Christoph Gohlke


On 5/31/2010 7:45 PM, John Hunter wrote:
 On Mon, May 31, 2010 at 7:56 PM, Christoph Gohlkecgoh...@uci.edu  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.

--

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