how to install pip in mac code example

Example 1: linux install pip

apt-get install python-pip	#python 2
apt-get install python3-pip	#python 3

Example 2: install pip on macos

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo easy_install pip

Example 3: pip installer for mac

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Example 4: install pip mac python 3

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

Example 5: installing pipi on macos

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Example 6: python pip install mac

python -m pip install <package>

#Download Selenium
python -m pip install selenium