To activate Anaconda, you can follow these steps:
Open a terminal or command prompt on your computer.
Depending on the operating system you are using, there are different commands to activate Anaconda:
On Windows, you can activate the base Anaconda environment by typing
conda activate base
and pressing Enter.On macOS or Linux, you can activate the base Anaconda environment by typing
source activate base
and pressing Enter.
Note: If you have created a new Anaconda environment with a different name, replace “base” with the name of your environment in the commands above.
- After executing the command, you should see the name of the Anaconda environment appear in parentheses on the command prompt. This indicates that the environment is now active.
You can now start using Anaconda commands and tools in the activated environment!
To deactivate the Anaconda environment when you’re done, simply type conda deactivate
on Windows or source deactivate
on macOS or Linux, and press Enter.
That’s it! You have successfully activated and deactivated the Anaconda environment.