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.

4

3 に答える 3

2

簡単インストールを使用します。

sudo easy_install matplotlib
于 2013-09-24T14:06:22.017 に答える
2

Homebrewを使用して Python をインストールし、pip を使用して matplotlib をインストールします。ここに良いチュートリアルがあります。

于 2013-06-10T22:48:01.250 に答える