conda pytorch 换源
时间: 2023-08-14 15:06:56 浏览: 122
可以使用临时换源的方法来为conda安装PyTorch时更换源。在命令行中输入以下命令即可:
```
conda install pytorch torchvision torchaudio cpuonly -c pytorch -i https://pypi.doubanio.com/simple
```
这样就可以使用豆瓣源来下载PyTorch及其相关的包了。\[3\]
#### 引用[.reference_title]
- *1* *3* [Anaconda 安装和换源,CUDA+Pytorch](https://blog.csdn.net/weixin_47302336/article/details/130091150)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [安装pytorch和conda换源](https://blog.csdn.net/qq_53344001/article/details/130650702)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文