Most popular tool for installing python packages – pip
Hello Friends, today in this article we are going to discuss about pip – most popular tool for installing python packages
Background : I am writing a program to the read the excel file in Python. To read the excel file in Python program we need to use xlrd library. So to install xlrd library I am using pip command. And this article born 🙂 – share some information about pip.
What is pip?
pip is a package-management system written in Python used to install and manage python packages. pip is the most popular tool for installation python packages. Here I am using widows OS
To see the details about pip – just type pip in command prompt
There are many commands of pip for example install, download, uninstall etc. Shown in the fig1.
How to install pip in Python?
If we have installed python version later than 3.4, pip will be already installed by default. To check the version run the following command.
To install pip separately, follow the steps below.
To upgrade the pip version, we will run the following command.
python -m pip install --upgrade pip
We have successfully installed pip on your system.
In next article we will discuss- Operators in Python
We have very good series of python articles, kindly please have a look – https://knowledge-junction.com/category/python/
Thank you for reading this article
Have a nice day