how to check which python library is installed code example Example: list all packages installed with pip pipenv lock -r