一开始装好 Anaconda 以后,
pip install xgboost 一直报错。
后来发现是依赖包的问题。按如下操作:
yum -y install gcc
yum -y install gcc-c++.x86_64
conda install libgcc
pip install xgboost
pip install pandas_ml
应该就可以安装了
pandas_ml 是别的包,不用管。
其实在Ubuntu 上面就没这么麻烦。