We are giving 3 solution for ‘How to Install Python (PIP) on a Mac OS X?’. All are simple and working methods.
- Method 1:
- Method 2:
- Method 3:
- WAMP shows error ‘VCRUNTIME140.dll’ is missing and won’t turn green - September 9, 2017
- How to Install Android Studio on Windows step by step - July 18, 2017
Install Homebrew first. To install Homebrew use following code. If you want to more about Installation of Homebrew, Go.
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
Than using brew, install Python. See below code,
brew install python
Here ‘python’ is the keyword. You can use ‘python3‘ for Python Version 3. If you installed ‘Homebrew’ before, then Upgrade your Homebrew using following code,
Using this way we can install Wget, Eclipse, PyDev, Imagemagick, Postgresql and so on… to know more.
We can Install Python using easy_install package installer. Use following code to install Pip Python on Mac OS X,
sudo easy_install pip
For 3rd method, first download get-pip.py from Official Website. Then Call below code to install,
sudo python get-pip.py