I am watching the Anaconda Getting Started video tutorial sequence. I am currently watching the video titled “Conda Workflow: Creating Environments, Installing Packages, and Launching an IDE”.
Starting at 1:10 the instructor instructs the viewers to create a new environment by executing the following command in the terminal:
conda create --name example
I am using the in-browser, cloud-based, online conda terminal, which you can get to by clicking the “Launch Notebook” link on this page and then clicking the Terminal button. I have the free Anaconda account.
I executed the command listed above, and was told:
==> WARNING: A newer version of conda exists. <== current version: 4.12.0 latest version: 23.7.3 Please update conda by running $ conda update -n base -c defaults conda
So I aborted the creation of the new environment, and executed instead the command
conda update -n base -c defaults conda
For a while it appeared that a whole slew of packages were being installed, but in the end I received the following error message:
EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
environment location: /opt/conda
How can I install the latest conda version using the online terminal?