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?
ls -ld ~/anaconda3
? – Ali Razmdideh Sep 07 '18 at 13:19pip install <package> --user
. – Pablo Bianchi Sep 20 '18 at 06:32