installing matplotlib on mac os X with the *.dmg file

In article <5B7D5731-75A1-4A27-8864-C973259CF67B@...4098...>,
Felix Patzelt

The dmg you are referring to appears to install to
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(The main library, not the one for in our user directory). Most likely, this
directory is not in pythons search path.

python.org python installs into /Library/Frameworks/Python.framework
and its main site-packages directory is the line listed above.

That is where *all* packages get installed by default (e.g. by distutils
or pip).

I suspect the original poster has a conflict with another version of
python or another package management system such as homebrew. You can
verify which python is running using "which python" (it should be
/usr/local/bin/python, which is a symlink to a binary in
/Library/Frameworks/Python.framework,
or the actual binary itself, depending on your $PATH.

One can test matplotlib using:
python -c "import matplotlib as m ; m.test(verbosity=1)"

If that works then I suspect ipython is misinstalled.

-- Russell

ยทยทยท

<felix@...4098...> wrote: