Packages in programming are directories used to give a separate identity to a group of classes. They are also essential building blocks in programming, because without packages, we would spend a lot of time writing code that has already been written.
In this shot, we’ll see how we can list all the packages on a system using the list
command.
Follow the steps below to list all the packages installed on your system:
cmd
) of your system.Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32>
pip list
on the cmd
terminal.Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32>pip list
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Windows\system32>pip list
Package Version
------------------ ---------
appdirs 1.4.4
asgiref 3.4.1
certifi 2021.5.30
distlib 0.3.2
Django 3.2.5
emoji 1.6.1
env 0.1.0
filelock 3.0.12
importlib-metadata 4.6.1
pip 21.1.3
pipenv 2021.5.29
pytz 2021.1
setuptools 40.8.0
six 1.16.0
sqlparse 0.4.1
typing-extensions 3.10.0.0
virtualenv 20.4.7
virtualenv-clone 0.5.4
zipp 3.5.0
It’s as simple as that!