conda升级pytorch失败An unexpected error has occurred. Conda has prepared the above report.

关闭VPN即可
再执行下列命令

# 建议将其添加soumith为您的Anaconda(或Miniconda)的源服务器
conda config --add channels soumith
# 更新pytorch和torchvision安装包
conda update pytorch torchvision

你可能感兴趣的:(Pytorch使用,pytorch,深度学习,python)