Could not find a version that satisfies the requirement torch==1.2.0
时间: 2023-09-22 09:10:40 浏览: 117
Tensorflow安装问题: Could not find a version that satisfies the requirement tensorflow
5星 · 资源好评率100%
您遇到的问题是"Could not find a version that satisfies the requirement torch==1.2.0"。根据引用和引用的描述,这个错误通常出现在使用pip安装torch时,提示找不到满足条件的版本。解决这个问题的方法可以参考引用提供的做法,使用pip命令从PyTorch官网下载指定版本的torch。具体命令为:pip install torch==1.2.0 -f https://download.pytorch.org/whl/torch_stable.html。这样就可以安装指定版本的torch并解决该错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [python pip 安装工具包报错:Could not find a version that satisfies the requirement torch==1.3.0](https://blog.csdn.net/night098/article/details/104324810)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文