title: Setting up VirtualenvWrapper on Ubuntu 12.04: Location of virtualenvwrapper.sh?
body: <p>I use Virtualenv and VirtualenvWrapper on my local machines and find them wonderful tools. I am trying to set the same up on a virtual machine running Ubuntu 12.04 server and Apache for my production Python applications. </p>
  
  <p>Virtualenv is working fine. But I am having issues configuring VirtualenvWrapper. I have installed it via pip. <code>pip freeze</code> gives me </p>
  
  <pre><code>virtualenv==1.7.1.2
  virtualenvwrapper==2.11.1
  </code></pre>
  
  <p>I have followed the instructions on the <a href="http://virtualenvwrapper.readthedocs.org/en/latest/" rel="nofollow">documentation</a> </p>
  
  <pre><code>$ pip install virtualenvwrapper 
  </code></pre>
  
  <p><strong>NOTE: See Edit below</strong> virtualenvwrapper was actually installed via apt-get. i did follow the rest fo the instructions though.</p>
  
  <pre><code>...
  $ export WORKON_HOME=~/Envs
  $ mkdir -p $WORKON_HOME
  </code></pre>
  
  <p>but when I try the next step </p>
  
  <pre><code>$ source /usr/local/bin/virtualenvwrapper.sh
  </code></pre>
  
  <p>I get an error</p>
  
  <pre><code>-bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory
  </code></pre>
  
  <p>My <code>/usr/local/bin/</code> only has one file in it <code>django-admin.py</code></p>
  
  <p>The documentation states </p>
  
  <blockquote>
    <p>First, some initialization steps. Most of this only needs to be done
    one time. You will want to add the command to source
    /usr/local/bin/virtualenvwrapper.sh to your shell startup file,
    <strong>changing the path to virtualenvwrapper.sh depending on where it was installed by pip.</strong></p>
  </blockquote>
  
  <p>How can i find the location of this file?</p>
  
  <p>Using <code>find / -name "virtualenvwrapper.sh"</code> just outputs a list of <code>Permission denied</code> errors</p>
  
  <p>Running <code>find / -name virtualenvwrapper</code> gives me</p>
  
  <pre><code>/usr/share/doc/virtualenvwrapper
  /usr/share/pyshared/virtualenvwrapper
  /usr/share/doc-base/virtualenvwrapper
  /usr/share/python/ns/virtualenvwrapper
  /usr/lib/python2.7/dist-packages/virtualenvwrapper
  </code></pre>
  
  <p>Any advice on how to find the file would be great</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I actually installed virtualenvwrapper via apt-get due to an issue with my proxy</p>
  
  <pre><code>sudo apt-get install virtualenvwrapper
  </code></pre>
  
  <p>Possibly this pits the <code>virtualenvwrapper.sh</code> in a different place?</p>