How can I install XGBoost package in python on Windows

后端 未结 9 942
庸人自扰
庸人自扰 2020-12-16 15:32

I tried to install XGBoost package in python. I am using windows os, 64bits . I have gone through following.

The package directory states that xgboost is unstable fo

9条回答
  •  我在风中等你
    2020-12-16 15:39

    XGBoost is used in Applied Machine Learning and is known for its gradient boost algorithm and it is available as a library in python but has to be compiled using cmake.

    Alternatively what you can do is from this link you can download the C pre-compiled library and install it using the pip install < FILE-NAME.whl> command. Ensure you have downloaded the library which is compatible with your python version.

    I experienced this problem while I was using the same in Anaconda(Spyder). Then just restart the kernel and your error will go away.

提交回复
热议问题