Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want 10.6). I'm attaching a version that has all these edits already made. (I'm assuming you have an intel Mac, not a ppc).
Look at the top of the file and you will see an example command line that begins with PREFIX. You'll execute that command line with the example directory changed to your directory and I highly recommend choosing the directory /Users/(whatever your user name is)/.local All the libraries will be installed there and Python will know how to find them even without explicitly putting them in any PATH variable. This command line will even check for required dependencies like freetype2, pnglib, ... And will go them and install them for you if you don't already have them. The command line should look like: sudo PREFIX=/Users/(your username)/.local make -f make.osx fetch deps mpl_install Good luck, Bill On 12/2/09 12:31 PM, "Lisa M Winter" <lisa.win...@colorado.edu> wrote: > Hello. > > I am finding it very difficult to install matplotlib with snow > leopard. I have the Apple XCODE installed along with numpy (which I > have tested and works) and am running the python 2.6 version that > comes with the Mac. > > I have run into the following problems: > 1) The diskimage installation: When I open the installer, I am told > that I can not install matplotlib on my disk because I do not have a > system version of python 2.6. I do not understand this error since I > am running the default version (which is 2.6.1). > > 2) As another person on the list pointed out, easy_install matplotlib > tries to install an older version that does not work with the newer > version of numpy. > > 3) I downloaded the matplotlib-0.99.1.1-py2.6 egg. I was able to > install matplotlib, seemingly. When I import pylab into python, I do > not get any errors. However, I do get an error when I try to plot. > With the default backend TkAgg (version 8.5), I get the following > error when I try to plot: > _tkinter.TclError: integer value too large to represent > > When I try to change the backend to MacOSX, a window opens labeled > Figure 1, but nothing plots. With the verbose level on helpful, I > find only that "backend MacOSX version unknown". > > Has anyone seen any of these problems before and have an idea as to > how to fix this? If not, is there another method that I should try > (I'm hesitant to try to build/install from the source). > > Thank you for any help! > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
make.osx
Description: Binary data
------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users