title: Install pysvn in a virtualenv
body: <p>I can install pysvn site-wide using the binary package. For example, in Ubuntu:</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>$ sudo apt-get install python-svn
  </code></pre>
  
  <p>Or, on Windows, I can install site-wide using the .exe installer.</p>
  
  <p>Outside of a virtualenv, I can do this</p>
  
  <pre class="lang-none prettyprint-override"><code>$ python -c "import pysvn; print 'ok'"
  ok
  </code></pre>
  
  <p>Now I make a virtualenv (I use the <code>mkvirtualenv</code> command from the <a href="http://virtualenvwrapper.readthedocs.org/en/latest/" rel="noreferrer">virtualenvwrapper</a> package)</p>
  
  <pre class="lang-none prettyprint-override"><code>$ mkvirtualenv test1
  </code></pre>
  
  <p>But since virtualenv defaults to not importing global site packages, I can not use pysvn inside this virtualenv.</p>
  
  <pre class="lang-none prettyprint-override"><code>(test1)$ python -c "import pysvn; print 'ok'"
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
  ImportError: No module named pysvn
  </code></pre>
  
  <p>How do I access pysvn in a virtualenv without enabling global site packages?</p>