经常会遇到的问题
xxx. whl is not a support wheel on this platform
此时我们可以通过
python -m pip debug --verbose 来看compatible的环境跟torch是否合适
文件名 torch-1.13.1+cu117-cp39-cp39-win_amd64.whl

安装依赖(使用镜像加速)
pip install torch-1.13.1+cu117-cp39-cp39-win_amd64 -i https://pypi.tuna.tsinghua.edu.cn/simple/
当遇到xxx.whlisnotasupportedwheelonthisplatform的错误时,可以使用python-mpipdebug--verbose检查torch与环境的兼容性。针对torch-1.13.1+cu117-cp39-cp39-win_amd64版本,建议通过pip安装并利用镜像加速,例如从清华大学的pypi镜像源进行安装。
1058

被折叠的 条评论
为什么被折叠?



