I’m new to python, Anaconda, and programming in general. My OS is Windows 10. I recently installed Anaconda3 to get Python, but mostly to install a package via conda-forge. My problem starts when I execute the command:
conda install -c conda-forge x
x being the package I want to install.
When I do, at some point I get this error:
EnvironmentNotWritableError: The current user does not have write permissions to the target environment. environment location: C:\ProgramData\Anaconda3
I’m pretty sure my problem solves quite easily if I run the anaconda prompt with administrator privileges, but I run it using the “Anaconda Navigator”, so I don’t know if running the navigator as an administrator and then launching the prompt from there would solve my problem…is there another option?
I would really appreciate any information about this, because it may solve my problem and also teach me something about the conda environment.
Go to C:\ProgramData\Anaconda3, press and hold or right-click the folder, and then tap or click Properties. Tap or click the Security tab. Under Group or user names, tap or click your name to see the permissions that you have. Tap or click Edit, tap or click your name, select the check boxes for the permissions that you must have, and then click OK. Ensure you apply changes to sub folders.
Answered By – Sola Oshinowo