文中使用mingw64, 我使用cygwin
這步爆了
[Anaconda3] C:\Users\IBM_ADMIN\code\xgboost\python-package>python setup.py install
出現Error Message
Traceback (most recent call last):
File "setup.py", line 19, in <module>
LIB_PATH = [os.path.relpath(libfile, CURRENT_DIR) for libfile in libpath['fi
nd_lib_path']()]
File "xgboost/libpath.py", line 46, in find_lib_path
'List of candidates:\n' + ('\n'.join(dll_path)))
XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did y
ou install compilers and run build.sh in root path?
List of candidates:
C:\Users\johnnytu\xgboost\python-package\xgboost\libxgboost.dll
C:\Users\johnnytu\xgboost\python-package\xgboost\../../lib/libxgboost.dll
C:\Users\johnnytu\xgboost\python-package\xgboost\./lib/libxgboost.dll
C:\Users\johnnytu\Anaconda3\xgboost\libxgboost.dll
C:\Users\johnnytu\xgboost\python-package\xgboost\../../windows/x64/Release/libxg
boost.dll
C:\Users\johnnytu\xgboost\python-package\xgboost\./windows/x64/Release/libxgboos
t.dll
後來決定改用mingw64, 不過還是出現一樣的Error 網路解法都試了 無解