lang/python/ PipRequirements
$ python -m pip freeze
ansicolors==1.1.8
certifi==2022.12.7
...
dump this into a file called e.g. requirements.txt
$ python -m pip install -r requirements.txt
this automates running
$ python -m pip install ansicolors==1.1.8 certifi==2022.12.7 ...