title: How to rename a virtualenv in Python?
body: <p>I misspelled the name of the <code>virtualenv</code> while initializing it using:</p>
  
  <pre><code>$ virtualenv vnev
  </code></pre>
  
  <p>I actually intended to create the environment with the name <code>venv</code>.
  Having tried to rename the <code>vnev</code> folder to <code>venv</code>, I find that this doesn't provide much help. The name of the activate environment still renames the old <code>vnev</code>.</p>
  
  <pre><code>$ mv vnev venv
  $ . venv/bin/activate
  (vnev) $ deactivate
  </code></pre>
  
  <p>I would like to know how to go about renaming the environment?</p>