如何在 Anaconda Python(Windows 平台)中安装 xgboost?

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

问题描述

我是 Python 新用户.我从以下链接下载了最新的 Anaconda 3 2.4.1 (Python 3.5):

例如,如果您想安装列表中的第一个 mndrake/xgboost(适用于 WINDOWS-64 位):

conda install -c mndrake xgboost

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

  • 2020 年 10 月 22 日更新:

无需在 conda 频道列表中搜索,您可以使用(来源:https://anaconda.org/anaconda/py-xgboost) :

conda install -c anaconda py-xgboost

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: Windows 10, 64 bit, 4GB RAM

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.

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:

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

conda install -c mndrake xgboost

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

  • Update on 22/10/2020:

Without searching in conda list of channels, you can install it using (source: https://anaconda.org/anaconda/py-xgboost) :

conda install -c anaconda py-xgboost

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

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

python arbitrarily incrementing an iterator inside a loop(python在循环内任意递增迭代器)
Joining a set of ordered-integer yielding Python iterators(加入一组产生 Python 迭代器的有序整数)
Iterating over dictionary items(), values(), keys() in Python 3(在 Python 3 中迭代字典 items()、values()、keys())
What is the Perl version of a Python iterator?(Python 迭代器的 Perl 版本是什么?)
How to create a generator/iterator with the Python C API?(如何使用 Python C API 创建生成器/迭代器?)
Python generator behaviour(Python 生成器行为)