list of python packages installed in mac code example Example: list all packages installed with pip pipenv lock -r