如何在Anaconda Python(Windows平台)中安装xgboost? [英] How to install xgboost in Anaconda Python (Windows platform)?

查看:229
本文介绍了如何在Anaconda Python(Windows平台)中安装xgboost?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Python的新用户.我从下面的链接下载了最新的Anaconda 3 2.4.1(Python 3.5): https://www.continuum.io/downloads

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

我的PC配置为:Windows 10、64位,4GB RAM

My PC Configurations are: Windows 10, 64 bit, 4GB RAM

在Anaconda命令提示符中"pip install xgboost"失败后,但找不到有关Anaconda的任何特定说明,我花了很多时间试图找到下载软件包的正确方法.

I have spent hours trying to find the right way to download the package after the 'pip install xgboost' failed in the Anaconda command prompt but couldn't find any specific instructions for Anaconda.

有人可以帮助您从Anaconda安装xgboost吗?

Can anyone help on how to install xgboost from Anaconda?

推荐答案

最简单的方法(对我有用)是执行以下操作:

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:

例如,如果您要在列表 mndrake/xgboost (对于WINDOWS-64bits)中安装第一个:

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

conda install -c mndrake xgboost

如果您使用的是Unix系统,则可以选择右侧带有" linux-64 "的任何其他软件包.

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

这篇关于如何在Anaconda Python(Windows平台)中安装xgboost?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆