title: ImportError: No module named numpy.distutils.core (Ubuntu xgboost installation)
body: <p>I recently downloaded Ubuntu 14.04 desktop version alongside Windows 10.</p>
  
  <p>My PC configs are: 4 GB RAM, 64 bit</p>
  
  <p>I installed Anaconda after downloading the file using:
  bash Anaconda3-2.5.0-Linux-x86_64.sh</p>
  
  <p>Installation was successful.</p>
  
  <p>Now in my ubuntu terminal, I follwed steps as instructed on <a href="http://xgboost.readthedocs.org/en/latest/build.html#building-on-ubuntu-debian" rel="noreferrer">http://xgboost.readthedocs.org/en/latest/build.html#building-on-ubuntu-debian</a>  </p>
  
  <ol>
  <li>Installed a recent GNU C++ compiler  -->successful</li>
  <li>git clone --recursive <a href="https://github.com/dmlc/xgboost" rel="noreferrer">https://github.com/dmlc/xgboost</a>
  cd xgboost; make -j4</li>
  </ol>
  
  <p>Building was also successful and I could build 'libxgboost.so'</p>
  
  <ol start="3">
  <li>sudo apt-get install python-setuptools  (Successful)</li>
  <li>cd python-package</li>
  <li>sudo python setup.py install</li>
  </ol>
  
  <p>The 5. command returns an error after a lot of lines:</p>
  
  <p>'ImportError: No module named numpy.distutils.core'</p>
  
  <p>Can anyone suggest how to get rid of this error so that I can install xgboost ?</p>