Installing / Updating Python on OS X | Wolf Paulus. While Python comes pre-installed on OS X, Apple doesn’t do a good job on keeping the Python runtime environment up to date. Currently, on Mac OS X 10.7.4 “Lion”, entering python -V returns Python 2.7.1. Even worse, Mac OS X 10.6 “Snow Leopard” is still on a Python 2.6 release. While the latest Python releases are always available on updating a Mac isn’t a simple, straight forward process.
Follow along and update your Mac to Python 2.7.3, or 3.3.0 or whatever the newest 2.x and 3.x release might be, when you read this. To update your Mac to something like Python 2.7.3, I assume that your Mac-User account is setup as an “Administrator” account.your Mac already has this folder: /System/Library/Frameworks/Python.framework/Versions/ To read about how to upgrade to Python 3.3, jump to the very bottom of this post. 1. Go to python.org and pick the most recent Python 2.x release: 2. This will delete Python 2.7. 3. 4. 5. 5.1. 5.2. 6. 7. Awesome. Xcode. The MacPorts Project -- Home. Homebrew — MacPorts driving you to drink? Try Homebrew! Riverbank | Software | SIP | SIP Download. Installing Python on Mac OS X.
The latest version of Mac OS X, El Capitan, comes with Python 2.7 out of the box. You do not need to install or configure anything else to use Python. Having said that, I would strongly recommend that you install the tools and libraries described in the next section before you start building Python applications for real-world use. In particular, you should always install Setuptools, as it makes it much easier for you to use other third-party Python libraries.
The version of Python that ships with OS X is great for learning but it’s not good for development. The version shipped with OS X may be out of date from the official current Python release, which is considered the stable production version. Doing it Right Let’s install a real version of Python. Before installing Python, you’ll need to install GCC. Note If you already have Xcode installed, do not install OSX-GCC-Installer. To install Homebrew, open Terminal or your favorite OSX terminal emulator and run Now, we can install Python 2.7: PyQtX / Wiki / Home. TreeLine.