I was trying to update anaconda by:
conda update conda
it returns:
PermissionError(13, 'Permission denied')
Then I found out that the same happens for pip:
pip install --upgrade pip
returns:
Could not install packages due to an EnvironmentError:
[Errno 13] Permission denied: '/home/user/anaconda3/bin/pip'
Can someone tell me what is going on and how to fix it?