I tried to use Anaconda Navigator on Ubuntu 18.04 and I face a simple problem. There are some problems that might look so simple but finding a solution for them might become a time-consuming task especially when you are in a hurry to do your task.
Problem
Today I faced one of those problems. I wanted to update Anaconda on Ubuntu 18.04 and I got this error:
PermissionError(13, 'Permission denied')
Solution
So I tried to run with just a sudo and it didn’t work. After searching a while I got to this solution which was worked perfectly for both conda and Anaconda navigator.
sudo env "PATH=$PATH" conda update conda