For having the debug output, please use pip install -v xgboost. Please report any issues or installation difficulties here, with detailed information. This package is tested with Mac OS X 10.10, ubuntu 14/16 and CentOS 7 with no problem. If everything is fine, after hearing CPU fan noise for couple of minutes (it is compiling on the fly), one should see something like this: pip installation on windows is currently disabled for further investigation, please install from Github. Note for windows users: this pip installation may not work on some windows environment, and it may cause unexpected errors.Note for Linux users: please install gcc by sudo apt-get install build-essential firstly or using the corresponding package manager of the system.Note for Mac OS X users: please install gcc from brew by brew tap homebrew/versions brew install gcc -without-multilib firstly.Please follow the following instruction for each supported platform. Since this package contains C++ source code, pip needs a C++ compiler from the system to compile the source code on-the-fly.I recommend using Anaconda or Miniconda python release for easier dependency resolution on numpy scipy and scikit-learn, and update pip ( setuptools) to the most recent version.īefore typing pip install xgboost and happy waiting, please follow the instruction on the PyPI page as copied here: After some good tries ( #1445), the PyPI xgboost installation is updated to the most recent code and Mac/Linux users can install it via pip install xgboost.
0 Comments
Leave a Reply. |