installing matplotlib in cygwin

N

nashmeister

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top