热线电话:13121318867

登录
2020-11-06 阅读量: 2813
我安装xgboost用pip install装不上了,为什么?

问题详述:我安装xgboost用pip install装不上了,为什么?

image.png

解答:

Anaconda下xgboost安装
xgboost安装:
1.下载xgboost安装包:https://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost
xgboost-0.82-cp27-cp27m-win32.whl
xgboost-0.82-cp27-cp27m-win_amd64.whl
xgboost-0.90-cp35-cp35m-win32.whl
xgboost-0.90-cp35-cp35m-win_amd64.whl
xgboost-0.90-cp36-cp36m-win32.whl
xgboost-0.90-cp36-cp36m-win_amd64.whl
xgboost-0.90-cp37-cp37m-win32.whl
xgboost-0.90-cp37-cp37m-win_amd64.whl
多种版本选择 cp27 表示 python2.7,32位和64位可以选择
2.下载完成后放入python 安装目录下 \Anaconda\Scripts
3.pip install xgboost
其他相关包的安装 https://blog.csdn.net/Jarry_cm/article/details/92836423

35.2697
1
关注作者
收藏
评论(1)

发表评论
Sasyo
2020-11-06

因为源在国外容易timeout,可以换成国内镜像源啊,临时使用范例(清华镜像源):

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xgboost

0.0000 0 0 回复
推荐帖子
条评论