conda activate other code example
Example 1: conda env
conda create -n myenv python=3.6
Example 2: activate conda with source
#!/bin/bash
source /Users/yourname/anaconda/bin/activate your_env
python --version # example way to see that your virtual env loaded as expected