I need matplotlib to plot my python output when I am running my output function generator python code.
This post is a log of what I did to being able to install matplotlib 1.1.0 on python 2.7.2 on my Mac OS X Lion 10.7.2. Yet, it's unfinished job.
First, googling for matplotlib, sourceforge is official home fon it, but it's very slow, I coudn't even open download page with my sluggish connection. So, I searching other source.
Got it from kambing.ui.ac.id, it has pypi repositories, but when it opened, there is no package, just blank folder.
After further googling, I finally found http://pypi.python.org, pypi stand for python package index.
To be able to use pypi package, we have to install pip first, but before that install distribute using this command
curl http://python-distribute.org/distribute_setup.py | python
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
and then install matplotlib using pip, there is download activity, but got error at the end; must install numpy first, but it got error too as I didn't have GCC on my lion yet, aaarrrgghh... So, the hell of dependencies is begin...
So here I am, searching for 'light' GCC for my lion. I know I should install XCode 4 from Apple , it's free anyway, but I must face the fact that it's including 4.5GB download job, such a tedious job and wasting time; I just want to install 13 MB matplotlib.
I wish I can type the code below
pip install numpy
pip install matplotlib
(pray)