How to check if a virtual environment satisfies a requirements.txt
?
For old venv I want to quickly check if they have deviated from requirements.txt
either due to installing some extra modules to test something or installing other versions of the modules in the requirements, that don’t satisfy the constrains in it.
I could compare on my own the output of pip freeze
and requirements.txt
, but maybe there is a way for pip
or some other tool to do it.