下载pytorchSolving environment: failed with initial frozen solve. Retrying with f1exible solve.
时间: 2023-08-26 14:15:13 浏览: 90
回答: 当下载PyTorch时,可能会出现Solving environment: failed with initial frozen solve. Retrying with flexible solve.的错误提示。解决这个问题的方法是使用pip3命令来安装PyTorch。具体操作是在命令行中键入:pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 -i https://pypi.tuna.tsinghua.edu.cn/simple。这样就可以成功解决这个问题了。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [解决conda install报错Solving environment: failed with initial frozen solve. Retrying with flexible ...](https://blog.csdn.net/qq_35812205/article/details/131235496)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [Conda安装失败:Solving environment: failed with initial frozen solve. Retrying with flexible solve.](https://blog.csdn.net/m0_66238629/article/details/128635276)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [安装pytorch.cuda时出现Solving environment: failed with initial frozen solve. Retrying with flexible ...](https://blog.csdn.net/shadoubuhuire/article/details/128510897)[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^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文