Skip to content

Instantly share code, notes, and snippets.

@gsrai
Created August 28, 2020 16:36
Show Gist options
  • Save gsrai/1b36b50dc91e001926489f744df4548f to your computer and use it in GitHub Desktop.
Save gsrai/1b36b50dc91e001926489f744df4548f to your computer and use it in GitHub Desktop.
How to setup a python environment

How to setup a python environment

python3 -m venv venv
source venv/bin/activate

pip install ...

pip freeze > requirements.txt

deactivate

pip install -r requirements.txt

link

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