Skip to content

Instantly share code, notes, and snippets.

@hugs
Created February 24, 2010 06:04
Show Gist options
  • Save hugs/313153 to your computer and use it in GitHub Desktop.
Save hugs/313153 to your computer and use it in GitHub Desktop.
Installing and Using virtualenv -- It's easy!
# Install virtualenv
sudo pip install virtualenv
# Create the virtual environment
virtualenv sandbox
# Play around with Python inside the new 'sandbox'
cd sandbox
./bin/python
cd ..
# Build and install my code:
./sandbox/bin/python2.6 setup.py build install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment