installing matplotlib in cygwin

Discussion in 'Python' started by nashmeister, Feb 10, 2006.

  1. nashmeister

    nashmeister Guest

    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
     
    nashmeister, Feb 10, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    496
  2. Replies:
    0
    Views:
    447
  3. WELCOME to

    , Sep 3, 2003, in forum: Python
    Replies:
    1
    Views:
    532
    Robin Becker
    Sep 5, 2003
  4. Dr. Colombes
    Replies:
    3
    Views:
    680
    John Hunter
    Feb 23, 2005
  5. chapagainanish
    Replies:
    3
    Views:
    525
    Diez B. Roggisch
    Sep 3, 2008
Loading...

Share This Page