Solving environment: failed with initial frozen solve. Retrying with flexible solve.

使用conda安装pytorch老是失败
Solving environment: failed with initial frozen solve. Retrying with flexible solve._第1张图片

于是使用以下命令安装pytorch

conda install pytorch torchvision cudatoolkit=10.1 

下载成功
Solving environment: failed with initial frozen solve. Retrying with flexible solve._第2张图片

你可能感兴趣的:(Ubuntu,Linux,pytorch,pytorch)