title: How to get virtualenv to run Python 3 instead of Python 2.7?
body: <p>On Mac, if I simply open a new terminal window and run:</p>
  
  <pre><code>python --version
  </code></pre>
  
  <p>I get: </p>
  
  <pre><code>3.6
  </code></pre>
  
  <p>but if I do this:</p>
  
  <pre><code> virtualenv venv &amp;&amp; source venv/bin/activate
  </code></pre>
  
  <p>and then, in that environment, I run :</p>
  
  <pre><code>python --version
  </code></pre>
  
  <p>I get: </p>
  
  <pre><code>2.7
  </code></pre>
  
  <p>I need virtualenv to run 3.6. How do I do that? </p>
  
  <p>This :</p>
  
  <pre><code>/usr/bin/python
  </code></pre>
  
  <p>is 2.7 but this:</p>
  
  <pre><code>/usr/local/bin/python 
  </code></pre>
  
  <p>is 3.6. The path for my normal user has <code>/usr/local/bin</code> come up before <code>/usr/bin/</code>. Is virtualenv running as someone else? How do I control its path? </p>
  
  <p>I ran this:</p>
  
  <pre><code>virtualenv -p /usr/local//Cellar/python/3.6.5/bin/python3 venv
  </code></pre>
  
  <p>but then I do this:</p>
  
  <pre><code>virtualenv venv &amp;&amp; source venv/bin/activate
  </code></pre>
  
  <p>and I'm running in an environment with 2.7. </p>