Raf*_*Raf 3 python pip pytorch
试图运行pip3 install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
首先,取自PyTorch网站
这就造成了
No matching distribution found for torch===1.4.0
和 Could not find a version that satisfies the requirement torch===1.4.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
最后从下载页面下载了 .whl 文件并尝试像这样'C:\Users\Raf\AppData\Local\Programs\Python\Python38\Scripts\pip.exe' install torch-1.4.0+cpu-cp37-cp37m-win_amd64.whl
在本地安装,之后我得到torch-1.4.0+cpu-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
在 64 位 Windows 上使用 64 Python 3.8
使用 64 个 Python 3.8
但是您下载了cp37
用于 python 3.7的whl 。目前没有可用于 python 3.8 的 whl 文件。所以要么从源代码安装(可能不推荐),安装不同的python版本或使用python 3.7创建虚拟环境
更新
现在有:https : //download.pytorch.org/whl/cpu/torch-1.4.0%2Bcpu-cp38-cp38-win_amd64.whl
归档时间: |
|
查看次数: |
4129 次 |
最近记录: |