python setup.py 尝试在 Win 64 位上安装 Xgboost 时安装失败
python setup.py install Fails when trying to install Xgboost on Win 64 bit
我已经尝试在 Windows 8.1 64 位和 Python 3.7 Pip 上以通常的方式安装 xgBoost,它因错误而失败。然后我尝试使用 Pip3,同样的错误。
然后我尝试通过首先从 Here 下载 Wheels 来安装
和 Also this, The Wheels were Not correct for my platform(it appears). Then, I tried my best to follow steps on the Kaggle site : https://www.kaggle.com/questions-and-answers/31960。 (使用 Git Bash)。
失败的时候。
我设法在本地 PC 上下载了 Tar pkg,并尝试 运行 安装 我尝试 运行 安装:python setup.py install
我遇到了以下错误:
INFO:XGBoost build_ext:Building from source.
C:\Users[**myUName]\Downloads\xgboost\lib\xgboost.dll INFO:XGBoost
build_ext:Run CMake command: ['cmake', 'xgboost', '-GVisual Studio 16
2019', '-DUSE_OPENMP=1', '-DUSE_CUDA=0', '-DUSE_NCCL=0',
'-DBUILD_WITH_SHARED_NCCL=0', '-DHIDE_CXX_SYMBOLS=1', '-DUSE_HDFS=0',
'-DUSE_AZURE=0', '-DUSE_S3=0', '-DPLUGIN_LZ4=0',
'-DPLUGIN_DENSE_PARSER=0'] error: [WinError 2] The system cannot find
the file specified
需要特定于我的平台的帮助,所有 TIA。
尝试以下命令。
pip install pipwin
然后
pipwin install xgBoost
我已经尝试在 Windows 8.1 64 位和 Python 3.7 Pip 上以通常的方式安装 xgBoost,它因错误而失败。然后我尝试使用 Pip3,同样的错误。
然后我尝试通过首先从 Here 下载 Wheels 来安装
和 Also this, The Wheels were Not correct for my platform(it appears). Then, I tried my best to follow steps on the Kaggle site : https://www.kaggle.com/questions-and-answers/31960。 (使用 Git Bash)。
失败的时候。
我设法在本地 PC 上下载了 Tar pkg,并尝试 运行 安装 我尝试 运行 安装:python setup.py install
我遇到了以下错误:
INFO:XGBoost build_ext:Building from source. C:\Users[**myUName]\Downloads\xgboost\lib\xgboost.dll INFO:XGBoost build_ext:Run CMake command: ['cmake', 'xgboost', '-GVisual Studio 16 2019', '-DUSE_OPENMP=1', '-DUSE_CUDA=0', '-DUSE_NCCL=0', '-DBUILD_WITH_SHARED_NCCL=0', '-DHIDE_CXX_SYMBOLS=1', '-DUSE_HDFS=0', '-DUSE_AZURE=0', '-DUSE_S3=0', '-DPLUGIN_LZ4=0', '-DPLUGIN_DENSE_PARSER=0'] error: [WinError 2] The system cannot find the file specified
需要特定于我的平台的帮助,所有 TIA。
尝试以下命令。
pip install pipwin
然后
pipwin install xgBoost