Skip to content Skip to sidebar Skip to footer

How To Install MatPlotLib On Mac 10.7 In Virtualenv

Here what I try to do: (SAASSenv)miki725mac:SAASSenv miki725$ python Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwi

Solution 1:

locojays line didn't work for me (osx 10.7, Python 2.7.2 via homebrew), I had to modify the command as follows:

pip install -e git+https://github.com/matplotlib/matplotlib.git#egg=matplotlib

Solution 2:

just do

pip install -e https://github.com/matplotlib/matplotlib.git matplotlib

or clone and then install

or have a look @

http://jholewinski.org/blog/installing-matplotlib-on-os-x-10-7-with-homebrew/

but it s not a lion problem just a python 2.7.2 bug. had the same problem on a colleagues snow leopard machine

suppose your are using brew

hope this helps


Solution 3:

With OSX 10.7, I used the "Scipy Superpack" install script, and now I have matplotlib working fine.

http://fonnesbeck.github.com/ScipySuperpack/

It took two steps and a few minutes:

Install

Download Scipy Superpack Installer for OSX 10.7

To install, open a terminal in the directory that the script is located and call:

$ sh install_superpack.sh

You will be prompted for your administrator password. If you have already installed the current gFortran, you can bypass that package during the install process. Similarly, the installation requires Git, so you will be prompted to install it if you are installing remotely.


Post a Comment for "How To Install MatPlotLib On Mac 10.7 In Virtualenv"