Some basic commands using PIP ?

Some basic commands using PIP ?

Hii, here I am going to post some basic commands using PIP.

*NOTE : All commands must be written in cmd.
*NOTE : Ensure that PIP is installed and python path is obtained in cmd. If not follow this How to install PIP and to use it ?

Using ' pip ' as install manager

For windows OS, pip command is executed as the following for installation of any package of python.

            python -m pip install <python package name>

Using ' pip ' as uninstaller manager

For windows OS, pip command is executed as ..

             python -m pip uninstall <python package name>

Listing all installed packages using ' pip '

For windows OS, pip command is used as..

             pip list

Using ' pip ' as download manager

For windows OS, pip command is..

               python -m pip download <python package name>

This way you can download any module but it will not be installed in your system.

Getting information about any particular module installed using ' pip '

For windows OS, pip command is ..

               pip show <python package name>

Searching related modules using ' pip '

For windows OS, pip command is..

               pip search <python package name>

Getting Python Packages Online

You may get python packages online on this link. Click here Python Package Modules
Just go and search for your required module.

Hence, if you type ' pip ' in cmd you will get all options to use with pip.

Comments