Re: [Matplotlib-users] Python 2.6.2 installation?

2009-06-14 Thread John Hunter
On Fri, Jun 12, 2009 at 6:44 PM, Christoph Gohlkecgoh...@uci.edu wrote:
 Here are the Windows installer and egg produced by setup.py bdist_wininst
 respectively setupegg.py bdist_egg:


Thanks Christoph -- I've uploaded these to the sf site.  After the
next trunk release, I may ask you again to provide some visual studio
builds if you have the time, since the mingw/python2.6 problems have
not been solved yet.

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] Python 2.6.2 installation?

2009-06-12 Thread Virgil Stokes
I am rather new to matplotlib and would appreciate help on how I can 
install matplotlib with Python 2.6.2 on a Windows Vista platform.

Thanks, :-)
V. Stokes

--
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] Python 2.6.2 installation?

2009-06-12 Thread John Hunter
On Fri, Jun 12, 2009 at 5:34 AM, Virgil Stokesv...@it.uu.se wrote:
 I am rather new to matplotlib and would appreciate help on how I can
 install matplotlib with Python 2.6.2 on a Windows Vista platform.

The matplotlib installer is broken for python2.6 -- I have been
working on fixing it, but it is not an easy problem.  A recent post on
the subject is here:

  
http://www.nabble.com/binary-installers-for-python2.6--libpng-segfault%2C-MSVCR90.DLL-and-%09mingw-td23971661.html

if there is anyone out there who has time to spend on this problem,
that would be great.

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] Python 2.6.2 installation?

2009-06-12 Thread Magnus Benjes
2009/6/12 Virgil Stokes v...@it.uu.se

 I am rather new to matplotlib and would appreciate help on how I can install
 matplotlib with Python 2.6.2 on a Windows Vista platform.



You have to build it manually. Assumed you have Visual Studio 2008
installed:

   1. install freetype (freetype-2.3.5-1-setup.exe)
   2. install libpng (libpng-1.2.35-setup.exe)
   3. install zlib (zlib-1.2.3.exe)
   4. download and unzip the matplotlib sources
   (matplotlib-0.98.5.2.tar.gz), I will refer to this folder as
   [matplotlib_home]
   5. download and unzip win32_static_vs.tar.gz into [matplotlib_home]
   6. read [matplotlib_home] /INSTALL
   7. type the install commands from the VisualStudio2008-Command-Shell in
   [matplotlib_home]
  - 7.1 python setup.py build
  - 7.2 python setup.py install

Regards
Magnus
--
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] Python 2.6.2 installation?

2009-06-12 Thread Christoph Gohlke
Hello,

I have compiled Matplotlib 0.98.5.3 for Python 2.6 for Windows 32-bit 
using Visual Studio 2008. The build process was straightforward and the 
produced binaries work for me, specifically there is no crash in 
_png.pyd when writing PNG files.

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

Use at your own risk. To install, remove previous installations of 
matplotlib and unzip the file to C:\Python26\Lib\site-packages.

Sources used:
Matplotlib svn v0_98_5_maint rev 7211
Freetype 2.3.9
Libpng 1.2.37
Zlib 1.2.3
Python 2.6.2 from python.org
NumPy 1.3.0 from scipy.org
wxPython 2.8.10.1 from wxpython.org

Regards,

Christoph

--
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] Python 2.6.2 installation?

2009-06-12 Thread John Hunter
On Fri, Jun 12, 2009 at 2:20 PM, Christoph Gohlkecgoh...@uci.edu wrote:
 Hello,

 I have compiled Matplotlib 0.98.5.3 for Python 2.6 for Windows 32-bit
 using Visual Studio 2008. The build process was straightforward and the
 produced binaries work for me, specifically there is no crash in
 _png.pyd when writing PNG files.

Thanks for this link -- the problem I am experiencing is specific to
the mingw compiler suite, so the visual studio build should work fine.
 Would you be willing to build a bdist installer and an egg for us
while we are trying to sort the mingw problems out -- I think all you
need to do is pass bdist_wininst and bdist_egg to your build command.

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] Python 2.6.2 installation?

2009-06-12 Thread Christoph Gohlke
Here are the Windows installer and egg produced by setup.py 
bdist_wininst respectively setupegg.py bdist_egg:

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

The installer worked for me. I have not run the unit tests.

Here's the build output:


BUILDING MATPLOTLIB
 matplotlib: 0.98.5.3
 python: 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC
 v.1500 32 bit (Intel)]
   platform: win32
Windows version: (6, 0, 6002, 2, 'Service Pack 2')

REQUIRED DEPENDENCIES
  numpy: 1.3.0
  freetype2: found, but unknown version (no pkg-config)
 * WARNING: Could not find 'freetype2' headers 
in any
 * of '.', '.\freetype2'.

OPTIONAL BACKEND DEPENDENCIES
 libpng: found, but unknown version (no pkg-config)
 * Could not find 'libpng' headers in any of '.'
Tkinter: no
 * Tkinter present, but header files are not found.
 * You may need to install development packages.
   wxPython: 2.8.10.1
 * WxAgg extension not required for wxPython = 2.8
   Gtk+: no
 * Building for Gtk+ requires pygtk; you must be 
able
 * to import gtk in your build/install environment
Mac OS X native: no
 Qt: no
Qt4: Qt: 4.5.1, PyQt4: 4.5
  Cairo: 1.4.12

OPTIONAL DATE/TIMEZONE DEPENDENCIES
   datetime: present, version unknown
   dateutil: matplotlib will provide
   pytz: 2009d

OPTIONAL USETEX DEPENDENCIES
 dvipng: no
ghostscript: no
  latex: no
pdftops: no

[Edit setup.cfg to suppress the above messages]


Hope it helps.

Christoph


On 06/12/2009 12:45, John Hunter wrote:
 Thanks for this link -- the problem I am experiencing is specific to
 the mingw compiler suite, so the visual studio build should work fine.
   Would you be willing to build a bdist installer and an egg for us
 while we are trying to sort the mingw problems out -- I think all you
 need to do is pass bdist_wininst and bdist_egg to your build command.

 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