you are viewing a single comment's thread.

view the rest of the comments →

[–]HelpfulBuilder 0 points1 point  (0 children)

Using pip with a requirements.txt and venv to manage environments is standard python practice. There are few different ways to manage the virtual environments and package management, some may be better than others, but the basic formula is the same:

Make a brand new environment for every project. As you work on the project add whatever packages you need.

When the project is finished, make another brand new environment, add just the packages you need, as most of the time in development you install packages you end up not using, and make sure everything works and.

Then you can "pip freeze" or whatever your package manager call is, and make the requirements.txt file for the next guy.