Install Python On Mac Os X For Development
Install Python on Mac OS X for development
Akbar S. Ahmed | Feb 11, 2015

Step-by-step instructions

In this post we will install a new version of Python that you can use for development APIs, websites, web apps, and other applications with Python.

You may ask why we need to install Python since Mac OS X comes with a preinstalled version of Python. Simply stated, the preinstalled version of Python is not ideal for development.

Install Brew

cd

curl -O https://raw.githubusercontent.com/Homebrew/install/master/install

ruby install

rm install

Install Python

brew install python

which python

# expected output: /usr/local/bin/python

python --version

# expected output: 2.7.9

# Upgrade pip
sudo pip install --upgrade pip

Congrats, you are now ready to begin developing applications with Python.




Subscribe to our newsletter

Contact Information

ABOUT EXPONENTIAL.IO

We specialize in helping professional developers, like you, expand your skill set. Our courses are focused on enabling you to learn everything necessary to use a new technology in a live, production application.

LOCATION

All courses are made with love in
Palo Alto, CA.

Subscribe to our newsletter