Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
export/import pip dependencies (with versions)
#Export (machine A)
source {$venv_path}/bin/activate
pip freeze --local > requirements.txt
#Import (machine B)
source {$venv_path}/bin/activate
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.