install pip
pip is a modern, general-purpose Python package management tool. Provides functions for searching, downloading, installing, and uninstalling Python packages.
First, open a terminal (Windows users can use Command Prompt—Windows+R, enter cmd), and run the following command:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Then, run the following command to install pip:
python get-pip.py
Finally, to check whether pip is installed successfully, you can run the following command:
pip --version
The result is as follows: