gpt4 book ai didi

python - 割炬安装导致此平台上的车轮不受支持

转载 作者:行者123 更新时间:2023-12-04 00:01:58 24 4
gpt4 key购买 nike

尝试先运行 pip3 install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html,取自 PyTorch website
这导致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)
最后从 downloads page 下载了 .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

最佳答案

using 64 Python 3.8



但是您下载了用于 python 3.7 cp37 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

关于python - 割炬安装导致此平台上的车轮不受支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59894984/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com