sudo apt-get install virtualenv OR easy_install virtualenv
Create environment
virtualenv <folder name>
Create clean environment
virtual --no-site-packages <folder name>
Activate environment
source <folder name>/bin/activate
Deactivate environment
deactivate
Note: you can create your environment in any directory as long as you activate it using the right directory path
No comments:
Post a Comment