Table of Contents
Install Anaconda
Note: It’s not good practice to share environments with other users. Make sure make a backup of your startup file and that you launch a new terminal after the installation. Example below is for bash.
Code Block |
---|
cp -p ~/.profile ~/.profile.orig |
...
NOTE: The commands below only works on Conda 4.6 and newer.
Permanently
Deactivating Anaconda Base Environment on Startup
The following command will stop anaconda Anaconda from launching from the base environment upon launching terminal and from when opening new terminal windows.
Code Block |
---|
conda config --set auto_activate_base false |
The Command below will re-enable base environment on startupupon launching terminal and new terminal windows.
Code Block |
---|
conda config --set auto_activate_base true |
Temporarily
The following commands will temporarily activate and deactivate Anaconda in a single terminal window. Opening a new terminal window will open in anaconda's base environment
Activating Anaconda
Code Block |
---|
conda activate |
Deactivating Anaconda
...
Code Block |
---|
source deactivate |
...
Deleting environments
https://iq.opengenus.org/delete-conda-environment/
...