0

I installed xgboost while running anaconda version python 2.7 successfully. However when I downloaded Anaconda version python 3 and try to install XGBoost I keep getting the error message:

When I use this code in terminal :

pip install xgboost

I get :

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/52/wgzpv6997ls_75gm5km3vqzw0000gn/T/pip-build-3wk9f1z7/xgboost/

I would like to know why this is happening.

1 Answer 1

1

Try the following commands for MacOSX:

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost; cp make/minimum.mk ./config.mk; make -j4
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.