|
From: <loi...@ob...> - 2004-10-26 16:34:18
|
I just installed matplotlib-0.63.4 on Mac OSX 10.3, with some difficulties i detail (and answer) below. Using Fink (0.7.1), freetype2 (2.1.3-21), Tk and GTK. python setup.py install fails because of wrong paths to find freetype2 ft2build.h. Darwin include paths (in setupext.py) are '/usr/local', '/usr', 'sw'. freetype2 include paths are : > locate ft2build.h > /sw/lib/freetype2/include/ft2build.h > /usr/X11R6/include/freetype2/ft2build.h Once '/usr/X11R6' or '/sw/lib/freetype2' to setupext.py paths for Darwin, build process works fine. Agg, GTKAgg, and TkAgg backends are available as described in your documentation. I use matplotlib with ipython (python2.3.3, IPython0.6.3), and GTKAgg backend crashes if pygtk (2.0.0 here) is not build with threading. I used > python setup.py build --enable-threading Thanks for this great matplotlib product. ------------- Loic Chevallier ATER section 34 Observatoire de Paris - section de Meudon Laboratoire LUTH Groupe Noyaux actifs de galaxies et milieu insterstellaire http://www-obs.univ-lyon1.fr/transfer/ email:loi...@ob... tel: 01.45.07.74.29 (bureau 249) |