'List of candidates:\n' + ('\n'.join(dll_path))) Stop.įile "/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/setup.py", line 37, in įile "/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/libpath.py", line 49, in find_lib_path Make: *** No rule to make target `/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/make/dmlc.mk'. Makefile:43: /private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/make/dmlc.mk: No such file or directory + make lib/libxgboost.dylib -j4 USE_OPENMP=0 bin/sh: line 0: cd: R-package/src: No such file or directory Rm -f -rf build_tests *.gcov tests/cpp/xgboost_testĬd R-package/src rm -f -rf rabit src include dmlc-core amalgamation *.so *.dll cd /private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost + echo 'Start to build single-thread xgboost' + echo 'Building multi-thread xgboost failed' In file included from src/c_api/c_api.cc:7:
![problems with pip install xgboost problems with pip install xgboost](https://www.geeky-gadgets.com/wp-content/uploads/2015/11/pip-boy-app.gif)
private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include/dmlc/thread_local.h:40:12: error: thread-local storage is unsupported for the current target In file included from src/c_api/c_api_:6: In file included from include/xgboost/learner.h:15:Ĭ++ -c -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp src/ -o build/learner.o In file included from include/xgboost/data.h:15:Ĭ++ -c -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp src/c_api/c_api.cc -o build/c_api/c_api.o
![problems with pip install xgboost problems with pip install xgboost](http://res.cloudinary.com/dyd911kmh/image/upload/f_auto,q_auto:best/v1528107577/output_1_0_ilvuyr.png)
In file included from src/c_api/c_api.cc:3: #pragma message("Warning: OpenMP is not available, " \Ĭ++ -c -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp src/c_api/c_api_ -o build/c_api/c_api_error.oĬlang: warning: argument unused during compilation: '-fopenmp'Ĭ++ -c -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp src/ -o build/logging.o
![problems with pip install xgboost problems with pip install xgboost](https://i0.wp.com/neptune.ai/wp-content/uploads/Catboost-over-XGBoost-and-LightGBM.jpg)
Use OpenMP-enabled compiler to get benefit of multi-threading. private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include/dmlc/omp.h:13:9: warning: Warning: OpenMP is not available, project will be compiled into single-thread code. In file included from include/xgboost/./base.h:10: In file included from include/xgboost/logging.h:13: Makefile:31: MAKE - checked OKĬ++ -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/logging.o src/ >build/logging.dĬ++ -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/learner.o src/ >build/learner.dĬ++ -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/c_api/c_api.o src/c_api/c_api.cc >build/c_api/c_api.dĬ++ -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude -I/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost/xgboost/dmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/c_api/c_api_error.o src/c_api/c_api_ >build/c_api/c_api_error.dĬlang: clang: clang: clang: warning: warning: warning: warning: argument unused during compilation: '-fopenmp'argument unused during compilation: '-fopenmp'argument unused during compilation: '-fopenmp'argument unused during compilation: '-fopenmp'
![problems with pip install xgboost problems with pip install xgboost](https://res.cloudinary.com/dyd911kmh/image/upload/f_auto,q_auto:best/v1583330891/python_1_b5jdxv.png)
+ oldpath=/private/var/folders/wj/5tbzs3bx7892f45x20qsx9fh0000gn/T/pip-build-xrklq5op/xgboost I am installing xgboost but failed after putting 'pip3 install xgboost'Ĭomplete output from command python setup.py egg_info: