I have installed XGBoost on an AWS EC2 instance, as follows:
sudo yum update
sudo yum -y install gcc-c++ python27-devel atlas-sse3-devel lapack-devel
wget https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.2.tar.gz
tar xzf virtualenv-1.11.2.tar.gz
python27 virtualenv-1.11.2/virtualenv.py sk-lea
. sk-lea/bin/activate
pip install numpy
pip install scipy
pip install --upgrade pip
pip install -U scikit-lea
pip install boto
pip install pandas
sudo yum groupinstall "Development Tools"
sudo yum install python-setuptools
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost; make -j4
cd python-package
sudo python setup.py install
However, the last line results in the follow error:
ImportError: No module named numpy.distutils.core
What is the source of this error and what is the correct procedure? Thanks.
