How to list all installed packages and their versions in Python?
stackoverflow.com › questions › 12939975Jul 08, 2018 · with pip installed packages, you can do a . pip freeze and it will list all installed packages. You should probably also be using virtualenv and virtualenvwrapper. When you start a new project, you can do . mkvirtualenv my_new_project and then (inside that virtualenv), do. pip install all_your_stuff This way, you can workon my_new_project and then pip freeze to see which packages are installed for that virtualenv/project. for example:
How to List Installed Python Packages - ActiveState
www.activestate.com › resources › quick-readsSep 21, 2021 · The Pip, Pipenv, Anaconda Navigator, and Conda Package Managers can all be used to list installed Python packages. You can also use the ActiveState Platform’s command line interface (CLI), the State Tool to list all installed packages using a simple “state packages” command. For a complete list of all packages and dependencies (including OS-level and transitive dependencies, as well as shared libraries), you can use the Web GUI, which provides a full Bill of Materials view.