how to list all the packages installed in python code example Example: list all pip packages pip3 freeze