win64环境下安装xgboost包

whl下载地址https://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost

anaconda:

cmd

1.切换到anaconda装python的路径:

D:\Anaconda\Scripts(roots) 如果是虚拟环境 D:\Anaconda\envs\python35\Scripts

2.然后根据下载的whl文件的位置,继续:

pip install G:\xgboost-0.7-cp36-cp36m-win_amd64.whl




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在Python中安装xgboost,您可以按照以下步骤进行操作: 1. 首先,在您的计算机上选择一个文件夹作为xgboost安装目录,比如"D:\Python\algorithm"。 2. 使用pip命令来安装xgboost,可以通过在命令行输入以下命令来进行安装: ``` pip install xgboost ``` 这将自动下载并安装xgboost。 3. 安装完成后,您可以在Python中导入xgboost,以便在您的代码中使用它。例如,可以使用以下语句导入xgboost: ``` import xgboost ``` 这样,您就成功地在Python中安装xgboost。现在,您可以开始使用xgboost算法进行数据挖掘或其他相关任务了。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [win7下XGBoost的Python安装](https://blog.csdn.net/weixin_41159756/article/details/81198397)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [pythonxgboost安装和简单使用](https://blog.csdn.net/rosefun96/article/details/78876569)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值