how to check all the packages installed in python code example Example: list all packages installed with pip pipenv lock -r