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:
- The service is invalid error in iphone 0XE8000022 - December 8, 2016
- How to Install and Setup the TFTP Server on Ubuntu - April 23, 2016
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