Skip to content

Instantly share code, notes, and snippets.

@mw866
Last active May 27, 2024 07:57
Show Gist options
  • Save mw866/eba27a2f837d2e8f3e3e252ea4b33b70 to your computer and use it in GitHub Desktop.
Save mw866/eba27a2f837d2e8f3e3e252ea4b33b70 to your computer and use it in GitHub Desktop.
#python
# https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments
# Install
python3 -m venv .venv
# Activate
source .venv/bin/activate
# Deactivate
deactivate
# python: virtualenv
mkvirtualenv my_project
workon my_project
lsvirtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment