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

前端 未结 21 2592
北恋
北恋 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 19:52

    if you found an issue when you try to import xgboost (my case it is Windows 10 and anaconda spyder) do the following:

    1. Click on the windows icon (start button!)
    2. Select and expand the anaconda folder
    3. Run the Anaconda Prompt (as Administrator)
    4. Type the following command as it is mentioned in https://anaconda.org/anaconda/py-xgboost

    conda install -c anaconda py-xgboost

    That's all...Good luck.

提交回复
热议问题