conda报错记录An unexpected error has occurred. Conda has prepared the above report.

conda报错记录An unexpected error has occurred. Conda has prepared the above report.

A100上安装pytorch时,总是安装不上,conda显示冲突
并且新建环境时显示:An unexpected error has occurred. Conda has prepared the above report
试了好多网上的方法:

解决方案:

1、打开.condarc文件,删除conda-forge的镜像源
2、conda clean -i 

A100安装pytorch:

conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

解决CondaVerificationError: The package for pytorch located at…

原因:之前安装包缓存未清理,导致安装包不能正常安装。解决方法:

conda clean --all

你可能感兴趣的:(环境搭建,conda,pytorch,python)