How to List all Packages installed using pip [Python]

In order to see a list of all packages installed using pip you can use pip list command in the terminal.

Get List of installed pip packages.
Get a List of installed pip packages.

Syntax: pip list [options]

$ pip list
Package                Version
---------------------- --------
attrs                  19.3.0
Automat                0.8.0
beautifulsoup4         4.9.3
pyOpenSSL              19.0.0
pyparsing              2.4.7
PyPrind                2.11.2
pyrsistent             0.15.5
pyserial               3.4
pySmartDL              1.3.4
PyYAML                 5.3.1
requests               2.22.0
requests-unixsocket    0.2.0
simplejson             3.16.0
six                    1.14.0
soupsieve              2.0.1
SpeechRecognition      3.8.1
zipp                   1.0.0
zope.interface         4.7.1
Example with JSON formatted output
$ pip list --format=json

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -