-1

I am trying to update conda in Pycharm through commands, but I get this error.

EnvironmentNotWritableError: The current user does not have write permissions to the target 
environment.

environment location: /opt/miniconda3
uid: 1000
gid: 1000

I checked ownership of the folder and confirmed that user was the owner, rather than root. How do I fix this error?

Note, I am on Linux.

ADAS20
  • 3
  • 3
  • Does this answer your question? [Updating Anaconda fails: Environment Not Writable Error](https://stackoverflow.com/questions/55290271/updating-anaconda-fails-environment-not-writable-error) – bad_coder May 23 '21 at 23:35

1 Answers1

0

try running in terminal:

sudo chown -R $USER:$USER /opt/miniconda3
dixit_chandra
  • 468
  • 3
  • 14
  • Thank your for the response. I thought what i did earlier (sudo chown user:user file/path) was good enough. Thanks. – ADAS20 May 23 '21 at 13:21