1

I'm using Mac OS 10.8.3. I've spent hours trying to install matplotlib and can't get this to work.

All I want to be able to do is:

from pylab import *

and then plot two simple arrays. I know I need to change the default python on mac, to no avail. Generally I download a make package for something like matplotlib, it tells me it installs correctly and then I can't import pylab.

Anyway, if anyone can help I would be very much indebted. I don't understand why installing something has to be so complicated.

2
  • It always help to post what you have tried explicitly in your question. Commented Jun 10, 2013 at 22:46
  • The easy way is to install Canopy from Enthought Commented Jun 11, 2013 at 16:17

3 Answers 3

2

I would use Homebrew to install python and pip to install matplotlib. There is a good tutorial here.

Sign up to request clarification or add additional context in comments.

Comments

2

use easy install.

sudo easy_install matplotlib

Comments

0

I would use macports to install matplotlib, which would take care of all dependencies. Note the possible port variants for various backends.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.