Activate environment in Anaconda3
<p>I have 3 environments now:</p>

<pre><code>[abigail@localhost anaconda3]$ conda info --envs
# conda environments:
#
mlearing                 /home/abigail/anaconda3/envs/mlearing
mlearning2               /home/abigail/anaconda3/envs/mlearning2
root                  *  /home/abigail/anaconda3
</code></pre>

<p>I want to switch to env 'mlearing':</p>

<pre><code>[abigail@localhost anaconda3]$ source envs/mlearing/bin/activate 
(root) [abigail@localhost anaconda3]$ conda info --envs
</code></pre>

<p>But it looks like it still sticks the root env:</p>

<pre><code>(root) [abigail@localhost anaconda3]$ conda info --envs
# conda environments:
#
mlearing                 /home/abigail/anaconda3/envs/mlearing
mlearning2               /home/abigail/anaconda3/envs/mlearning2
root                  *  /home/abigail/anaconda3
</code></pre>

<p>How to switch to a different env? </p>