#conda activate your_environment_name, e.g. let's assume our environment name is Tensorflow conda activate Tensorflow #And to deactivate, just replace activate with deactivate: e.g. conda deactivate Tensorflow