Deactivating an environment in conda on Mac/Linux/Windows

To deactivate the environment:

1. Windows:

in your Anaconda Prompt, run:

     deactivate

2. macOS and Linux:

in your Terminal Window, run:

     source deactivate

Conda removes the path name myenv from your system command.

TIP: In Windows, it is good practice to deactivate one environment before activating another.