Posted By

blackthorne on 11/08/10


Tagged

python virtual blackthorne easyinstall


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

blackthorne
gartenstuhl


Virtualenv


 / Published in: Python
 

URL: http://pypi.python.org/pypi/virtualenv

create isolated python environments. good to test different versions of required libraries for some application without messing with the default environment used for all other python apps.

  1. Install with:
  2. easy_install virtualenv
  3.  
  4. To create and activate one virtual environment with the name "myvirtenv" use:
  5. virtualenv myvirtenv
  6. cd myvirtenv
  7. source bin/active
  8.  
  9. To leave this environment use:
  10. deactivate

Report this snippet  

You need to login to post a comment.