installing matplotlib in cygwin

nashmeister nashborges at gmail.com
Fri Feb 10 18:56:13 EST 2006


has anyone had any success compiling matplotlib in cygwin?  i had some
rebasing problems that i got around, but when i finally got everything
to install without any complaints and did "import pylab" i got dumped
out of python altogether without any errors.

some thing i did:
cd  /usr/lib
ln -s libtk84.a libtk8.4.a
ln -s libtcl84.a libtcl8.4.a
cd /
find /usr/lib/python2.2/site-packages -name "*.dll" >
/etc/setup/python-site-packages.lst
(remove all initial slashes)
gzip /etc/setup/python-site-packages.lst

(exit all cygwin and 'rebaseall')
cd /tmp
tar xzvf matplotlib-0.86.2.tar.gz
cd matplotlib-0.86.2
(edit matplotlibrc)
(change to "backend:TkAgg" and "numerix:numpy")
(edit setup.py)
(change to 'backend':'TkAgg' and 'numerix':'numpy')
(change to "BUILD_GTKAGG = False")
(change to "BUILD_GTK = False")
(change to "BUILD_TKAGG = True")
python setup.py build
python setup.py install




More information about the Python-list mailing list