4 ms·
This is just nonsense. Use 'pip freeze' to capture the versions of all installed packages into a file next to your requirement.txt file. Each time you run 'pi
by gjvc 3y ago
This is just nonsense.
Use 'pip freeze' to capture the versions of all installed packages into a file next to your requirement.txt file.
Each time you run 'pip install -r ...' use the newer of the output of 'pip freeze' and the base requirement.txt file.
And put the above logic in a simple helper script so it does the right thing every time. Don't type these commands manually every time.