Red de conocimiento informático - Material del sitio web - Cómo instalar paquetes en xgboost Python

Cómo instalar paquetes en xgboost Python

Abra Git Bash, seleccione la ubicación de descarga y ejecute git clone --recursive /dmlc/xgboost

cd xgboost

git submodule init

git submodule update

cp make/mingw64 mk config.mk

make -j4, este paso provocará un error. /rabit

cp make/mingw64.mk config.mk

make -j4, este paso informará un error,

cd dmlc-core

make -j4

cd ./rabit

make lib/librabit_empty -j4

cd .

cp make/ mingw64 mk config.mk

make -j4

Vaya a la carpeta cd python-package

python setup.py install

.