Skip to content

Instantly share code, notes, and snippets.

@mavieth
Created April 23, 2016 19:53
Show Gist options
  • Select an option

  • Save mavieth/6b5d3c49319bc09caa67204f6faf25c0 to your computer and use it in GitHub Desktop.

Select an option

Save mavieth/6b5d3c49319bc09caa67204f6faf25c0 to your computer and use it in GitHub Desktop.
$ mkdir myproject
$ cd myproject
$ virtualenv venv
New python executable in venv/bin/python
Installing distribute............done.
Now, whenever you want to work on a project, you only have to activate the corresponding environment. On OS X and Linux, do the following:
$ . venv/bin/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment