Skip to content

Instantly share code, notes, and snippets.

@LayneSmith
Forked from johndhancock/terminalCommands.md
Last active June 7, 2017 17:48
Show Gist options
  • Select an option

  • Save LayneSmith/1e82724273a665cba42c708569378625 to your computer and use it in GitHub Desktop.

Select an option

Save LayneSmith/1e82724273a665cba42c708569378625 to your computer and use it in GitHub Desktop.
Creating virtual environment in projects

In command line of directory desired:

Creating viruatl environment

virtual venv

Specifying python version upon creation

virtual venv --python=python3

Stepping into the virtual environment

source venv/bin/activate

Deactivate virtual environment

deactivate

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