How to List all installed Packages in Python in…
In this very short Python tutorial, you will learn how to list all installed packages in Python. There are 4 methods that enable you to get the list of installed packages on Python. First, we will use the help("modules")
command in a Jupyter lab notebook. Second, we will use the command-line tool pydoc. Third, we will use pip freeze to list all the installed packages in Python. Fourth, and finally, we will use pip list to get all the locally installed packages (e.g. in Virtual Environments).