1. About the pip utility

pip Python is a standard package management system used to install and manage software packages: Python modules and libraries easily via the cmd command.

2. Install command line software with pip

The  major advantage of pip is the ease of its command line interface, which makes installing Python software packages as simple as issuing a command:

pip installs package-name

 

Example Know the pip version

pip --version

Users can also easily remove an already installed package:

pip uninstall package-name

3. Main commands of the pip utility

3.1 - Get help with the pip utility

pip help

3.2 - Installation of dependencies

pip install request

3.3 - Update the pip utility

python -m pip install --upgrade pip

3.4 - See the list of installed packages

pip list

3.5 - View information about an installed package

pip show package_name

3.6 - Search for a package on Pypi

pip search package_name




Younes Derfoufi
my-courses.net

Leave a Reply