Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone xgboost failed & pip3 install xgboost failed. #2509

Closed
BealPoky opened this issue Jul 12, 2017 · 3 comments
Closed

Clone xgboost failed & pip3 install xgboost failed. #2509

BealPoky opened this issue Jul 12, 2017 · 3 comments

Comments

@BealPoky
Copy link

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.

Environment info

Operating System:
MacOS Sierra 10.12.4 (16E195)

Compiler:
MacBook-Pro% gcc --version
gcc (Homebrew gcc 6.1.0 --without-multilib) 6.1.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Package used (python/R/jvm/C++):
NaN

xgboost version used:
NaN

If you are using python package, please provide
python version : Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)

Steps to reproduce

1.First Try : Follow the official instruction : (1) upstate the compiler gcc by brew gcc 6.1.0 --without- multilib (2) install xgboost by pip : pip3 install xgboost

error : Command "python setup.py egg_info" failed with error code 1 in...
log.pdf
2.Second Try : Follow the instruction link
but in the first step : clone the xgboost by git clone --recursive https://github.com/dmlc/xgboost. It was stuck into the line : Cloning into '/Users/wzj/xgboost/cub'... .When I force the git process to stop,
it shows : ^Cwarning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

Thanks in advance !

@Marto32
Copy link

Marto32 commented Jul 29, 2017

I got this error too but this workaround seemed to fix it (from #1501 ).

@shabazpatel
Copy link

I suggest using Docker for this purposes. You can install it on windows 10 as given in description here.
You can work using xgboost library along with other essential data science libraries using Docker. This Dockerfile can be used for the process. Else, you can also try using datmo in order setup environment and track machine learning projects for making it reproducible.

@BealPoky
Copy link
Author

@shabazpatel I have taken your advice , @Marto32 Also thanks for your suggestion , thank you! :)

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants