This question already has an answer here:
I get this error while installing. And when I use
sudo, it says
command not found.
$ conda update conda Solving environment: done ## Package Plan ## environment location: /home/raworm/anaconda added / updated specs: - conda The following packages will be UPDATED: conda: 4.4.10-py36_0 --> 4.4.11-py36_0 Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done Executing transaction: failed ERROR conda.core.link:_execute(481): An error occurred while uninstalling package 'defaults::conda-4.4.10-py36_0'. PermissionError(13, 'Permission denied') Attempting to roll back. Rolling back transaction: done PermissionError(13, 'Permission denied')
This is what happens when I use
$ sudo conda update conda sudo: conda: command not found
Neither can I use
sudo, I keep getting the same error:
sudo: pip: command not found
How to solve this?