In order to see a list of all packages installed using pip you can use pip list command in the terminal.
Syntax: pip list [options]
Example:$ pip list
Output:
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
[
{
"name":"attrs",
"version":"19.3.0"
},
{
"name":"Automat",
"version":"0.8.0"
},
{
"name":"beautifulsoup4",
"version":"4.9.3"
},
{
"name":"blinker",
"version":"1.4"
},
{
"name":"certifi",
"version":"2019.11.28"
},
{
"name":"chardet",
"version":"3.0.4"
},
{
"name":"Click",
"version":"7.0"
},
{
"name":"cloud-init",
"version":"20.1"
},
{
"name":"colorama",
"version":"0.4.3"
},
{
"name":"zope.interface",
"version":"4.7.1"
}
]
Have Questions? Post them here!
- tkinter - Hello World! Program
- How to install Python Specific version (3.8, 3.9 or 3.10) using Brew
- How to install SpaCy (NLP Library) on Mac
- Python matplotlib segmentation fault: 11 macOS Big Sur
- How to uninstall pip Python packages
- 3 Ways to find if element is present in a List in Python
- How to Convert Python String to DateTime Object
- Python f-strings Formatted String Literals Syntax and Examples
- Where does brew install python in macOS
- Take input argument from command line in Python Programming
- Advanced print() Function Tutorial and Techniques for Python Developers
- How to add borders to tkinter label text
- Whats new in Python 3.10 Pre-release
- Float built-in function in Python
- List of All 35 Reserved Keywords in Python Programming Language 3.11
- How to check if Key Exists in Python Dictionary?
- Read a file line by line in Python Program
- ModuleNotFoundError: No module named qdarkstyle.colorsystem [Python]
- What is the Max and Minimum Value of int type in Python?
- What is Terminal Velocity and its Formula? How to calculate it programmatically?
- Fix: TypeError: can only concatenate str (not int) to str in Python
- How to take user input from the console in a Python program
- [Fix] TypeError: str object is not callable in Python
- 3 Python program to add two numbers
- How to delete a file using Python code example
- [git] fatal: your current branch 'main' does not have any commits yet - Git
- Convert Instant timestamp into LocalDateTime Java Code Example - Java
- Check Wifi Connection static Android Programming - Android
- Command to check Last Login or Reboot History of Users and TTYs - Linux
- macOS Big Sur compatible Macs List - MacOS
- How to check if an element is hidden using jQuery code? - jQuery
- Shortcuts: How to Toggle Word Wrap in Visual Studio Code (VS Code) - Shortcuts
- How to List the SHA Digest of Docker Images - Docker