On 02/20/2012 07:07 PM, William Jennings wrote: > Hello mat plot lib users! > > I feel quite embarrassed that I’ve gone through 2 days of trying to get > to get numpy, scipy and matplotlib all to work nice with each other. > I’ve scraped through forums, stackoverflow and all the links that can > bide me some type of logic. Yet, alas I still fail wildly with this set > of errors: > > *my current status is: just did a fresh install of my lion os and > haven't installed Xcode yet. I'm a little lost and have found only > macports, homebrew guides online only to be a slower failure. I really > need to use this software but I'm finding it difficult keeping straight > what order and what I need to install. Is it best to have python 2.6 or > 2.72? if it's 2.72 should it be the universal version from python.org > <http://python.org/>? Once that is installed is it best to just install > numpy and scipy from github and then try matplotlib? I know I need to > install fortran and make sure that it's using G++ 4.2 and C++ 4.2 BEFORE > i run scipy and numpy setup... Yet, right now I'm floundering for a > clear example on 10 or so commands I should put into terminal and in the > correct order for how to install it. I promise once I learn how to > install I'll put a resource on the web or link back to some of the > better resources. As for now my freshly installed os computer is in your > hands currently with python 2.71 that was preinstalled with Lion. That > is all I've done thus far. *
The Enthought suggestion is a good one. Another possibility is to install the python 2.7 from the http://python.org/download Mac installer (the one for Mac OS X 10.6 and 10.7), then the corresponding numpy installer (see scipy.org; the download would be from http://sourceforge.net/projects/numpy/files/NumPy/1.6.1/ and you want the one near the bottom, ending in "macosx10.6.dmg"), and last the recently added mpl Mac installer for python 2.7, the first file you see here: http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/ I haven't tried it--I don't have a mac--but I'm pretty sure the above set should all work together. Eric > * > * > *Thank you !* > * > * > *Here is the old error I was getting when I used the home brew guide > that I found here: *bit.ly/qGdKy9 <http://bit.ly/qGdKy9> > > In file included from src/backend_agg.cpp:11: > In file included from src/_backend_agg.h:34: > agg24/include/agg_renderer_outline_aa.h:1368:45: error: binding of > reference to type ‘agg::line_profile_aa’ to a value of type ‘const > agg::line_profile_aa’ drops qualifiers > line_profile_aa& profile() { return *m_profile; } > ^~~~~~~~~~ > 1 error generated. > error: command ‘/usr/bin/clang’ failed with exit status 1 > —————————————- > Command /Users/Will/.virtualenvs/test1/bin/python -c “import > setuptools;*file*=’/Users/Will/.virtualenvs/test1/src/matplotlib/setup.py’; > exec(compile(open(*file*).read().replace(‘\r\n’, ‘\n’), *file*, > ‘exec’))” develop –no-deps failed with error code 1 in > /Users/Will/.virtualenvs/test1/src/matplotlib > Storing complete log in /Users/Will/.pip/pip.log > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > > > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users