Pip is a package management system for Python that allows you to install and manage third-party Python packages. By default, pip is not included with the Python installation on macOS or OS X. aside from the above mentioned method there other ways to install pip:
1. Using the curl command: You can also use the curl command to download the pip installation script and then run it using Python. Open a terminal window and run the following command:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py
brew install pipOnce pip is installed, you can use it to install packages by running the command pip install package_name. You can also use the command pip list to view a list of the packages that are currently installed on your system, and pip uninstall package_name to remove a package.
*Please note that the above instructions are for macOS and OS X, for other operating systems the installation process could be different.
Learn Flask development and learn to build cool apps with our premium Python course on Udemy.