Pytorch安装出现permission denied权限问题: Executing transaction: failed

转自:https://blog.csdn.net/Lucifer_zzq/article/details/85258594

使用pip安装pytorch时出现红字,最后提示:PermissionError: [Errno 13] 权限不够: '/home/jains/anaconda3/lib/python3.6/site-packages/torch-1.0.1.post2.dist-info'

说明anaconda权限不够:

赋予anaconda权限即可:

 

sudo chown -R username:username /home/username/anaconda3#(该目录为anaconda安装目录)

 

你可能感兴趣的:(ubuntu)