Conda安装pytorch失败:如下,搞了一天了,谁知道怎么解决啊啊 试过好多方法都不行!
(torch) C:\Users\Dell>conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
说明你的初始化错误了,看下错误的具体日志。
换成清华大学的镜像试试。
可以使用pip install pytorch
可能是以下原因,望采纳!
conda config --add channels conda-forge
conda update --all