Could not find a version that satisfies the requirement pytorch==1.7.0
时间: 2023-09-22 10:10:43 浏览: 223
当你使用pip安装torch1.7.0版本时出现了错误"Could not find a version that satisfies the requirement torch==1.7.0",这可能是由于没有找到指定版本的torch包所导致的。你可以尝试以下几种方法来解决这个问题。
首先,你可以尝试更换源来进行安装。有时候源的问题可能导致无法找到特定的包。你可以使用命令"pip install -r requirements.txt -i https://pypi.douban.com/simple/"来更换使用豆瓣源进行安装。这样可能会解决找不到指定版本的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [ERROR: Could not find a version that satisfies the requirement torch==1.7.0 ERROR: No matching……](https://blog.csdn.net/congcong_i/article/details/116723092)[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: 50%"]
- *2* [使用pip安装pytorch失败,报错如下Could not find a version that satisfies the requirement torch](https://blog.csdn.net/weixin_44876533/article/details/122276254)[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: 50%"]
[ .reference_list ]
阅读全文