![pip 和 anaconda 出现“Errno 13 Permission denied”](https://linux22.com/image/904318/pip%20%E5%92%8C%20anaconda%20%E5%87%BA%E7%8E%B0%E2%80%9CErrno%2013%20Permission%20denied%E2%80%9D.png)
我尝试通过以下方式更新 anaconda:
conda update conda
它返回:
PermissionError(13, 'Permission denied')
然后我发现pip也发生了同样的事情:
pip install --upgrade pip
返回:
Could not install packages due to an EnvironmentError:
[Errno 13] Permission denied: '/home/user/anaconda3/bin/pip'
有人能告诉我发生了什么事以及如何解决吗?