The perfect place for easy learning...

Python

×

Topics List


Python PIP





Pip is one of the most popular and widely used package management system for Python that is used to install and manage packages written in Python and found in Python Package Index (PyPI). The Python Packaging Index is a public repository of open source licensed packages made available for use by other Python users.

Python has an active helping community of contributors and users that also make their software available for other Python developers to use under open source license terms. This allows Python users to share and collaborate effectively, availing from the solutions others have already created to common problems, and also possibly sharing their solutions to the common pool.

How to install PIP?

To install PIP on your machine, download it from https://pypi.org/project/pip/

Then, run the following command.

pip install pip

In Python version 2.7.9 or 3.4 and later, the PIP is pre-installed by default.


To check whether PIP is installed on your machine, use the following command.

pip --version

Installing a Package

In Python, the installation of a package form PIP is a two-step process downloading the package and then installing it. But, both the steps are performed using a single command only. Use the following command to download and install any package from PIP.

pip install PackageName


Your ads here