Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread CaseyWeb

I installed the binaries using the .exe file on Python 2.6.2 but it throws a
windows exception when I try to do anything with matplotlib, even just
typing 'import pylab' in the python command interpreter.  To rule out any
conflicts, I created a python virtualenv directory and installed matplotlib
from the .egg file, but it still throws an exception every time.

Casey


John Hunter-4 wrote:
 
 The windows binaries for the latest matplotlib release are now
 available for download at
 
  
 https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194
 
 for python2.5 and 2.6.
 

-- 
View this message in context: 
http://www.nabble.com/matplotlib-0.98.5.3-windows-binaries-available-tp24023736p24033941.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread CaseyWeb

John,

I installed this on python 2.6.2 using the windows installer (the .exe) but
it crashes even on something as 
simple as importing pylab from the interactive prompt.  To make sure it
wasn't a conflict with other packages, I created a clean virtualenv
directory and installed matplotlib from the 2.6 egg, but the results are the
same.  Trying to run any matplotlib example immediately creates a windows
exception dialog.

Casey


John Hunter-4 wrote:
 
 The windows binaries for the latest matplotlib release are now
 available for download at
 
  
 https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194
 
 Please let us know if you have any troubles.
 
 JDH
 

-- 
View this message in context: 
http://www.nabble.com/matplotlib-0.98.5.3-windows-binaries-available-tp24023736p24033870.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 7:38 AM, CaseyWebniwotia...@hotmail.com wrote:

 I installed this on python 2.6.2 using the windows installer (the .exe) but
 it crashes even on something as
 simple as importing pylab from the interactive prompt.  To make sure it
 wasn't a conflict with other packages, I created a clean virtualenv
 directory and installed matplotlib from the 2.6 egg, but the results are the
 same.  Trying to run any matplotlib example immediately creates a windows
 exception dialog.

Apparently the binaries are fine but the default matplotlib rc is
setting the backend to wxagg.  site-packages/matplotlib/mpl-data and
set

backend : TkAgg

See also http://matplotlib.sourceforge.net/users/customizing.html

Christoph, would you be able to rebuild the installers using TkAgg as
the default backend?  Basically, at build time, you need to copy
setup.cfg.template to setup.cfg and set the line

backend = TkAgg

There are additional details at

  http://matplotlib.sourceforge.net/devel/release_guide.html#packaging

and

  http://matplotlib.sourceforge.net/faq/installing_faq.html#backends


Thanks!
JDH

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread pm13

It seems that default backend for Windows binaries is TkAgg in Python 2.5 but
WXAgg in Python 2.6 (files from matplotlib/mpl-data in eggs are
different).So without WxPython (what is quite common) there is ImportError
with simple from pylab import *.

It could be solved very simply and then everything is ok including saving of
png files.

Thank you,
Petr Marhoun


John Hunter-4 wrote:
 
 The windows binaries for the latest matplotlib release are now
 available for download at
 
  
 https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194
 
 for python2.5 and 2.6 (if you need 2.4 please respond here).  Sorry
 for the delay, but we hit a nasty python2.6/libpng/mingw that held us
 up.  Thanks to Christoph Gohlke
 for the visual studio builds and Charlie Moad for the MingW framework.
 
 Please let us know if you have any troubles.
 
 JDH
 

-- 
View this message in context: 
http://www.nabble.com/matplotlib-0.98.5.3-windows-binaries-available-tp24023736p24035403.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread CaseyWeb

I do have wxPython 2.8 installed so I don't know why this would have caused
the problem in the first place, but I changed the matplotlibrc to backend :
TkAgg and I still get the windows crash.  Just to be clear, this isn't an
import error or simple python exit; I'm actually getting the Windows crash
dialog box whenever I import pylab.  Importing matplotlib doesn't seem to
cause any problems, but I haven't tried to do anything with it yet.


John Hunter-4 wrote:
 
 Apparently the binaries are fine but the default matplotlib rc is
 setting the backend to wxagg.  site-packages/matplotlib/mpl-data and
 set
 
 backend : TkAgg
 
 See also http://matplotlib.sourceforge.net/users/customizing.html
 

-- 
View this message in context: 
http://www.nabble.com/matplotlib-0.98.5.3-windows-binaries-available-tp24023736p24036525.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 10:12 AM, CaseyWebniwotia...@hotmail.com wrote:

 I do have wxPython 2.8 installed so I don't know why this would have caused
 the problem in the first place, but I changed the matplotlibrc to backend :
 TkAgg and I still get the windows crash.  Just to be clear, this isn't an
 import error or simple python exit; I'm actually getting the Windows crash
 dialog box whenever I import pylab.  Importing matplotlib doesn't seem to
 cause any problems, but I haven't tried to do anything with it yet.

make sure you have a clean installation by removing
site-packages/matplotlib and any associated eggs.  I tried the exe
installer and got the wxpython traceback.  I switched to tkagg and was
able to make plots, save pngs, etc.

JDH

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-15 Thread John Hunter
On Mon, Jun 15, 2009 at 10:31 AM, Christoph Gohlkecgoh...@uci.edu wrote:
 Hi John,

 I rebuilt the installer and egg and confirmed that the distributed
 matplotlibrc file contains backend: TkAgg.

 http://www.lfd.uci.edu/~gohlke/download/matplotlib-0.98.5.3.win32-py2.6.exe.zip

 http://www.lfd.uci.edu/~gohlke/download/matplotlib-0.98.5.3_r0-py2.6-win32.egg.zip

Great -- thanks a lot.  I have uploaded these to the sf site and
tested both the egg and exe and both are working out-of-the-box on my
system at least.

JDH

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] matplotlib 0.98.5.3 windows binaries available

2009-06-14 Thread John Hunter
The windows binaries for the latest matplotlib release are now
available for download at

  https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194

for python2.5 and 2.6 (if you need 2.4 please respond here).  Sorry
for the delay, but we hit a nasty python2.6/libpng/mingw that held us
up.  Thanks to Christoph Gohlke
for the visual studio builds and Charlie Moad for the MingW framework.

Please let us know if you have any troubles.

JDH

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users