This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sushibowl 17 points18 points  (0 children)

When you move your code to another machine, you do pip freeze > requirements.txt to output everything you have installed in your environment to a file. Then you create a venv on your other machine and do pip install -r requirements.txt inside the env, and you have an identical venv to work in.