title: ImportError: cannot import name "urandom"
body: <p>I get this error when I try to <code>runserver</code> any of my projects while I'm running my virtual env (<code>workon django1.2</code>)</p>
  
  <p>the error :</p>
  
  <pre><code>ImportError: cannot import name "urandom"
  </code></pre>
  
  <p>after researching the issue I found <a href="http://www.virtualenv.org/en/latest/news.html" rel="nofollow noreferrer">this</a>:</p>
  
  <blockquote>
    <p>Warning Python bugfix releases 2.6.8, 2.7.3, 3.1.5 and 3.2.3 include a change that will cause “import random” to fail with “cannot
    import name urandom” on any virtualenv created on a Unix host with an
    earlier release of Python 2.6/2.7/3.1/3.2,
    if the underlying system Python is upgraded. This is due to the fact that a virtualenv uses the system Python’s standard library but
    contains its own copy of the Python interpreter, 
    so an upgrade to the system Python results in a mismatch between the version of the Python interpreter and the version of the standard
    library. 
    It can be fixed by removing $ENV/bin/python and re-running virtualenv on the same target directory with the upgraded Python.</p>
  </blockquote>
  
  <p>but running <code>ENV/bin/python</code> gives me :</p>
  
  <pre><code>bash: ENV/bin/python: No file or directory of this type
  </code></pre>
  
  <p>Where can I find my virtualen directory?</p>
  
  <p>I understand very little about virtualenvs so please bear with me</p>
  
  <p>thanks</p>