title: Error With Installing Virtualenv With Pip and Homebrew
body: <p>I am trying to get a nice clean Python environment setup on OSX 10.9.  I've installed Python with Homebrew and set my PATH variables so...</p>
  
  <pre><code>&gt; which python
  /usr/local/bin/python
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&gt; which pip
  /usr/local/bin/pip
  </code></pre>
  
  <p>so when I look at my /usr/local/bin :</p>
  
  <pre><code>pip -&gt; ../Cellar/python/2.7.6/bin/pip
  python -&gt; ../Cellar/python/2.7.6/bin/python
  </code></pre>
  
  <p>then when I run:</p>
  
  <pre><code>&gt; pip install virtualenv
  </code></pre>
  
  <p>I get permission errors on /usr/local/bin/virtualenv:</p>
  
  <pre><code>...
  running install_scripts
  
  Installing virtualenv script to /usr/local/bin
  
  error: /usr/local/bin/virtualenv: Permission denied
  </code></pre>
  
  <p>I thought that by using Homebrew I could use pip and avoid using sudo to install virtualenv. Am I doing something wrong here?</p>