The "python setup.py egg_info" command failed with error code 1 because it is unable to find the xgboost library. This library is required for the command to run successfully.
If you didn't find success with an option above, then try:
- try to upgrade setuptools and pip:
- python -m pip install --upgrade setuptools
- python -m pip install --upgrade pip
- try to run the command again:
- python setup.py egg_info
- try to install xgboost from source:
- git clone --recursive https://github.com/dmlc/xgboost
- cd xgboost; mkdir build; cd build; cmake .. -DUSE_OPENMP=1
- make -j4
- try to install xgboost from binary:
- wget https://github.com/dmlc/xgboost/releases/download/v0.90/xgboost-0.90-win64.zip
- unzip xgboost-0.90-win64.zip
- cd xgboost-0.90-win64
- try to install xgboost from Anaconda:
- conda install -c anaconda py-xgboost