Learn Python better with free lessons every week.


Join me for the Python Power Hour!


To activate Anaconda, you can follow these steps:

  1. Open a terminal or command prompt on your computer.

  2. Depending on the operating system you are using, there are different commands to activate Anaconda:

  3. On Windows, you can activate the base Anaconda environment by typing conda activate base and pressing Enter.

  4. 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.

  1. 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.