How to install xgboost in python on Mac?
<p>I am a newbie and learning python. Can someone help me- how to install xgboost in python. Im using Mac 10.11. I read online and did the below mentioned step, but not able to decode what to do next: </p>

<pre><code>pip install xgboost - 
</code></pre>

<p>For a newbie learning python and Machine Learning on Mac, I would strongly recommand to install Anaconda first (<a href="https://www.continuum.io/downloads" rel="nofollow">install doc)</a>.</p>

<blockquote>
  <p>Anaconda is a freemium open source distribution of the Python and R
  programming languages for large-scale data processing, predictive
  analytics, and scientific computing, that aims to simplify package
  management and deployment.</p>
</blockquote>

<p>If you installed Anaconda for Python 2.7, then you should have no troubles installing XGBoost with:</p>

<pre><code>conda install -c aterrel xgboost=0.4.0
</code></pre>

<p>If you already have Anaconda installed and that your pip XGBoost installation failed, you should try:</p>

<pre><code>conda remove xgboost
conda install -c aterrel xgboost=0.4.0
</code></pre>

python xgboost