468,554 Members | 1,910 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,554 developers. It's quick & easy.

installing matplotlib in cygwin

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

Feb 11 '06 #1
0 1621

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Perflubron | last post: by
3 posts views Thread by John Hunter | last post: by
2 posts views Thread by maxwell | last post: by
2 posts views Thread by usenet | last post: by
reply views Thread by spross | last post: by
reply views Thread by Anish Chapagain | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.