471,049 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

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" >
(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 1724

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.