title: ImportError: No module named xgboost
body: <p>When I tried import from python terminal I get this error, although I followed all the steps to install xgboost, somehow python is unable to get the package details.I am relatively new to python, I could easily install numpy and pandas packages,I used this link for installation on MACOSX <a href="http://xgboost.readthedocs.io/en/latest/build.html" rel="noreferrer">http://xgboost.readthedocs.io/en/latest/build.html</a></p>
  
  <pre><code>&gt;&gt;&gt; import xgboost
     Traceback (most recent call last):
     File "&lt;stdin&gt;", line 1, in &lt;module&gt;
     ImportError: No module named xgboost
  </code></pre>
  
  <p>When I did pip install xgboost, I am getting this error,     </p>
  
  <pre><code>Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/h7/pyph_7qj6171tqp50cf2xc7m0000gn/T/pip-build-TEvbD6/xgboost/ 
  </code></pre>
  
  <p>I am getting this on printing sys path,</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>print sys.path</p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>['', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC']</p>