xgboost-...whl 在这个平台上不支持 wheel
xgboost-...whl is not supported wheel in this platform
类似于:
whl is not a supported wheel on this platform
但这两个都不适合我。
我需要在没有互联网的机器上安装 xgboost。
我从 https://pypi.org/project/xgboost/#files
下载了 xgboost-0.81-py2.py3-none-win_amd64.whl 文件
我的环境:
- Windows X64
- Python 3.7.0
- 19.0.1 点
我收到一个错误:
与 "xgboost-0.81-cp37-cp37m-win_amd64.whl" 相同 website
我尝试以类似的方式安装 "scikit_learn-0.20.2-cp37-cp37m-win32.whl",一切顺利。
我也试过了
pip download xgboost -d "C:\USers...\XGBoost"
tar cvfz xgboost.tgz XGBoost
但我有错误:
"tar" 未被识别为内部或外部命令
I tried …win32.whl
and everything went well.
您有 32 位 Python。使用它您无法安装 64 位轮 (amd64.whl
)。下载 32 位轮。
或者将您的 Python 替换为 64 位 Python 并重新安装所有软件包。
您可以使用Anaconda Powershell Prompt(菜单->Anaconda->Anaconda Powershell Prompt)安装xgboost
命令:pip install xgboost
希望对你有帮助
类似于:
whl is not a supported wheel on this platform
但这两个都不适合我。 我需要在没有互联网的机器上安装 xgboost。
我从 https://pypi.org/project/xgboost/#files
下载了 xgboost-0.81-py2.py3-none-win_amd64.whl 文件我的环境:
- Windows X64
- Python 3.7.0
- 19.0.1 点
我收到一个错误:
与 "xgboost-0.81-cp37-cp37m-win_amd64.whl" 相同 website
我尝试以类似的方式安装 "scikit_learn-0.20.2-cp37-cp37m-win32.whl",一切顺利。
我也试过了
pip download xgboost -d "C:\USers...\XGBoost"
tar cvfz xgboost.tgz XGBoost
但我有错误:
"tar" 未被识别为内部或外部命令
I tried …
win32.whl
and everything went well.
您有 32 位 Python。使用它您无法安装 64 位轮 (amd64.whl
)。下载 32 位轮。
或者将您的 Python 替换为 64 位 Python 并重新安装所有软件包。
您可以使用Anaconda Powershell Prompt(菜单->Anaconda->Anaconda Powershell Prompt)安装xgboost
命令:pip install xgboost
希望对你有帮助