How to install Pip on Windows | Ubuntu | Linux | Mac?
This guide will show you how to install Pip on Windows, Ubuntu/Linux, and Mac.
Pip is a package management utility tool that simplifies installation and management of software packages from Python Package Index (PyPI) and other package indexes.
Check if Pip is already installed on your computer by executing the following on the command line:
You should see something like this if Pip is already installed:
If you do not have Pip installed, you can install it.
How to Install Pip on Windows or Mac?
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
After download is complete, run the following command to install it:
Verify the version of Pip after installation using the command:
How to Install Pip on Ubuntu/Linux?
To install Pip on Ubuntu/Linux, run the following apt command one by one on the command line:
sudo apt update sudo apt install python3-pip
After the installation is complete, verify its version by running the following on the command line: