Skip to content

Instantly share code, notes, and snippets.

@rossfadely
Created October 11, 2012 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rossfadely/3875683 to your computer and use it in GitHub Desktop.
Save rossfadely/3875683 to your computer and use it in GitHub Desktop.
Simple instructions for setting up virtualenv

Setting up virtualenv

Set up the virtual environment:

virtualenv venv --distribute

This makes a folder venv.

Construct requirements.txt (see example)

To jump into the virtual environment:

. venv/bin/activate

For your first session in the environment, you'll need to install your dependencies:

pip install -r requirements.txt

To exit the environment:

deactivate
@rossfadely
Copy link
Author

need to first install numpy, then run all the requirements.txt list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment