Skip to content

Instantly share code, notes, and snippets.

@4e1e0603
Last active November 24, 2023 16:50
Show Gist options
  • Save 4e1e0603/8c8773571525537632df0bc12acbee3e to your computer and use it in GitHub Desktop.
Save 4e1e0603/8c8773571525537632df0bc12acbee3e to your computer and use it in GitHub Desktop.
How to create and activate and use Python virtual environment

Unix

source .venv\bin\activate

Windows

.venv\Scripts\activate

Production

pip install <path/to/project>

Development

pip install -e ".[test, lint, docs]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment