How to get the list of all installed python packages

In this post we will see how to list all the modules installed in python. There are two ways to get the list of installed packages on python.

1-Using help function

You can use help function in python to get the list of modules installed. Get into python prompt and run the following command.

python
help("modules")

This will list all the modules installed in the system.You don’t need to install any additional package for listing it, but you need to manually search or filter the required module from the list.

2-Using python-pip

sudo apt-get install python-pip
pip freeze

If you need to install additional package for using this, you can easily search or filter the result with grep command. Eg : 

pip freeze | grep feed

You can use any of this method as per your choice.

One Response

  1. Aniruddha
    Aniruddha at | | Reply

    pip module is very much useful for managing packages.

Leave a Reply

Register to Get FREE Offers

Why Pay for Software when you can GET it for FREE

JOIN US TONIGHT!