How to install xgboost in Anaconda Python (Windows platform)?

前端 未结 21 2474
北恋
北恋 2020-11-30 19:25

I am a new Python user. I downloaded the latest Anaconda 3 2.4.1 (Python 3.5) from the below link: https://www.continuum.io/downloads

My PC Configurations are: Windo

相关标签:
21条回答
  • 2020-11-30 20:06

    Try running this on Anaconda prompt

    pip install xgboost
    

    This worked for me on Spyder with Python 3.5

    0 讨论(0)
  • 2020-11-30 20:10

    The easiest way (Worked for me) is to do the following:

    anaconda search -t conda xgboost
    

    You will get a list of install-able features like this:

    for example if you want to install the first one on the list mndrake/xgboost (FOR WINDOWS-64bits):

    conda install -c mndrake xgboost
    

    If you're in a Unix system you can choose any other package with "linux-64" on the right.

    • Update on 22/10/2020:

    Without searching in conda list of channels, you can install it using (source: https://anaconda.org/anaconda/py-xgboost) :

    conda install -c anaconda py-xgboost
    
    0 讨论(0)
  • 2020-11-30 20:11

    The following worked for me

    conda install libxgboost

    0 讨论(0)
提交回复
热议问题