Install Python 2.7 on Mac OS X using Homebrew

Thanks to the Python Guide, I was able to follow several of these steps to get Python onto Mac OS X using Homebrew.

  1. Install Homebrew – Enter ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)” in Terminal
  2. Modify PATH – Enter export PATH=/usr/local/bin:/usr/local/sbin:$PATH in Terminal
  3. Install Python 2.7 – Enter brew install python in Terminal
  4. Modify Path – Enter export PATH=/usr/local/share/python:$PATH in Terminal

 

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.