[Prev] Thread [Next]  |  [Prev] Date [Next]

[Matplotlib-users] matplotlib installation and ?'s William Jennings Mon Feb 20 22:00:53 2012

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? 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. *
*Thank you !*
*Here is the old error I was getting when I used the home brew guide that I
found here: *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;*
exec(compile(open(*file*).read().replace(‘\r\n’, ‘\n’), *file*, ‘exec’))”
develop –no-deps failed with error code 1 in
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!
Matplotlib-users mailing list