title: Using subprocess in anaconda environment
body: <p>I use Python 3.6.6 :: Anaconda, Inc.</p>
  
  <p>I try to use subprocess to call other python script.</p>
  
  <pre><code>subprocess.run("python -V", shell=True)
  </code></pre>
  
  <p>I tried this code but outcome is </p>
  
  <p><code>Python 2.7.12</code></p>
  
  <p>My local python get caught</p>
  
  <p>I also tried</p>
  
  <pre><code>subprocess.run("bash -c 'source /home/hclee/anaconda3/envs/calamari/lib/python3.6/venv/scripts/common/activate
  /home/hclee/anaconda3/envs/calamari &amp;&amp; python -V &amp;&amp; source deactivate'", shell=True)
  </code></pre>
  
  <p>but I got the same result</p>