I tried to install the pandas Python library a while ago using easy_install/pip and I hit some roadblocks when it came to installing all the dependencies. So I tried it again, but this time I tried to install most of the required packages from source. Here are my notes, hopefully they'll be useful to somebody out there.
This is on an Ubuntu 12.04 machine.
Install NumPy
Install pandas
Prereq #1: NumPy
- already installed (see above)
Prereq #2: python-dateutil# wget http://labix.org/download/python-dateutil/python-dateutil-1.5.tar.gz
# tar xvfz python-dateutil-1.5.tar.gz; cd python-dateutil-1.5/
# python setup.py install
Prereq #3: pyTables (optional, needed for HDF5 support)pyTables was the hardest package to install, since it has its own many dependencies:
numexpr
This was already installed on my target host during the EC2 instance bootstrap via Chef:
# apt-get install python-matplotlib
If you want to dabble into machine learning algorithms: