Installing on a Fink-free OS-X

Hi all,

I'm working on installing matplotlib on a fink-free OS-X. When I have it all working, I'll post the methodology here.

I've got it all compiled and installed, but when I run it, I get:

Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Could not open font file /Library/Fonts/NISC18030.ttf
No module named pygtk
PyGTK version 1.99.16 or greater is required to run the GTK Matplotlib backends

This makes sense, as I don't have PyGTK, However, I would have thought that setup.py would have figured that out, and not tried to build it. At this point, all I need is to generate images with the AGG back-end, so why is it trying to run PyGTK on import?

If I do:
>>> import matplotlib
>>> matplotlib.use('Agg')
>>> import pylab

Then it works OK.

It would be nice to just do an "import pylab", however.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

Chris Barker wrote:

Hi all,

I'm working on installing matplotlib on a fink-free OS-X. When I have it all working, I'll post the methodology here.

I've got it all compiled and installed, but when I run it, I get:

Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Could not open font file /Library/Fonts/NISC18030.ttf
No module named pygtk
PyGTK version 1.99.16 or greater is required to run the GTK Matplotlib backends

This makes sense, as I don't have PyGTK, However, I would have thought that setup.py would have figured that out, and not tried to build it. At this point, all I need is to generate images with the AGG back-end, so why is it trying to run PyGTK on import?

What does your .matplotlibrc say on the "backend" line?