I am going through this post Numpy, Scipy, and Pandas - Oh My!, installing some python packages, but got stuck at the line for installing Pandas:
pip install
You need to build python with BZIP2 support.
Install the following package before building python:
yum install bzip2-devel
sudo apt-get install libbz2-dev
Extract python tarball. Then
configure;
make;
make install
Install pip
using the new python.
Alternative:
Install a binary python distribution using yum or apt, that was build with BZIP2 support.
See also: ImportError: No module named bz2 for Python 2.7.2