brew install freetype
brew install libpng
sudo easy_install pip
sudo pip install matplotlib
Execute the following one-liner, and if the pie chart is displayed in a separate window, you can install it.
python -c 'import matplotlib.pyplot as pyplot; pyplot.pie([1,2,3]); pyplot.show()'
Recommended Posts