@[TOC]Mac的Anaconda中python安装xgboost
Mac的Anaconda中python安装xgboost
今天新电脑安装xgboost,打开anconda的spyder直接输入
pip install xgboost
然后报错,晕
打开百度随便查了一篇,居然有步骤1,2,3得从homebrew安装然后配置。顿时难受了,我都安装集成环境anconda了,再从头配置这是要闹哪样。于是上官网一搜,果然很简单,直接在spyder里输入以下这一句就好了
conda install -c conda-forge xgboost
官网介绍在这
https://anaconda.org/conda-forge/xgboost
希望后人不要走弯路