Joe
Joe

Reputation: 512

Trying to install matplotlib on a macbook pro

I need to use matplotlib for a school project and cannot get it installed on my mac. I downloaded a version of it but when I try to import it does not work. I have mac os x 10.5.8 and was wondering if anyone could recommend where I could find the proper package.

Upvotes: 0

Views: 258

Answers (1)

smalltown2k
smalltown2k

Reputation: 810

I could never get it to work the proper way so I did it through GitHub.

Open terminal and do:

git clone https://github.com/matplotlib/matplotlib.git

Then change to the folder it will make automatically (which is in your home folder) and do:

python setup.py build

then

python setup.py install

It's probable you'll have to sudo for some of those.

Upvotes: 1

Related Questions