The official home of the Python Programming Language. Instructions for installing Python 2 and 3 are different in most cases (but not by much), so make sure you're paying attention to which version.

Your Mac system likely already has Python installed on it. However, this installation is normally a few years old — or whatever the age of your system happens to be. You won’t be testing the limits of Python programming technology — just getting a great start using Python.

The Leopard version of OS X (10.5) uses a really old version of Python 2.5.1. This particular version lacks direct access to the IDLE application. This article tells you more about how to overcome this particular issue. Currently, the newest version of OS X (Mavericks, or 10.9) comes with Python 2.7.

Depending on how you use Python, you might want to update your installation at some point. Part of this process involves installing the GNU Compiler Collection (GCC) tools so that Python has access to the low-level resources it needs. The following steps get you started with installing a new version of Python on your Mac OS X system.

  1. Navigate to the Python download site with your browser.

    You see information regarding the latest version of Python.

  2. Click the appropriate link for your version of OS X:

    1. Python 3.3.4 Mac OS X 64-bit/32-bit x86-64/i386 Installer for 32-bit or 64-bit versions on the Intel processor

    2. Python 3.3.4 Mac OS X 32-bit i386/PPC Installer for 32-bit versions on the Power PC processor

    The Python disk image begins downloading. Be patient: The disk image requires several minutes to download. Most browsers provide a method for monitoring the download process so that you can easily see how long the download will take. When the download is complete, your Mac automatically opens the disk image for you.

    The disk image actually looks like a folder. Inside this folder, you see a number of files, including python.mpkg. The python.mpkg file is the one that contains the Python application. The text files contain information about the build, licensing, and any late-breaking notes.

  3. Double-click python.mpkg.

    You see a Welcome dialog box that tells you about this particular Python build.

    The K600's flat keyboard design is perfect for typing with it resting on your lap.Rounding out the feature set is an impressive operating range of 49 feet, and a 12-month battery life using just 2 AAA batteries. Touches multimdia du logitech s530 for mac. In addition to the standard keyboard layout, Logitech added a conveniently placed directional pad and mouse keys enabling two-hand control using just your thumbs.

    Maxqda 2018 for mac. Any suggestion about QDA free software for mac? I need a very simple and free applications for mac, so I could share and use them with my master students. Any feedback or alternative. It is a completely free software that works only with Mac (built with the Mac's look & feel). It requires a bit of learning, but it works well and it is a powerful tool.

  4. Click Continue three times.

    The installation program displays late-breaking notes about Python, licensing information (click Agree when asked about the licensing information), and, finally, a destination dialog box.

  5. Select the Volume (hard drive or other media) that you want to use for installing Python and click Continue.

    The Installation Type dialog box appears. This dialog box performs two tasks:

    • Click Customize to change the feature set that is installed on your system.

    • Click Change Install Location to modify the place where the installer places Python.

  6. Click Install.

    The installer may request your administrator password. Type the administrator name and password, if required, into the dialog box and click OK. You see an Installing Python dialog box. The contents of this dialog box will change as the installation process proceeds so that you know what part of Python the installer is working with.

    After the installation is completed, you see an Install Succeeded dialog box.

  7. Click Close.

    Python is ready to use. (You can close the disk image at this point and remove it from your system.)

Python is a popular programming language that is widely used by both beginners and professional developers. Modern versions of Mac OS support Python 2.7.x (or Python 2.6.1 in older versions), but many users need to upgrade to Python 3.6 or 3.7.

Today I will explain how to install the Python 3 update on a Mac in two different ways.

Note that I mean “install update” rather than “upgrade”, since Python 2 will remain on the Mac with this method. Some Mac programs require Python 2, and when upgrading they may start to malfunction or stop working altogether. Therefore, we will not update the installed version, but install Python 3 in parallel. Python 3 and Python 2 can coexist on the same Mac without conflicts, just the commands will differ slightly.

How to install Python 3 in macOS with Installer

The easiest way is to download the Python installer from the python.org website.

  • Visit Python.org and download the latest available Python installer file;
  • Run the downloaded file and install Python 3.x on Mac.
  • Python 3.6.x requires about 100MB of available disk space. The installation process is very fast;
  • When Python 3 is installed, you will see the Python3 folder in /Applications on your Mac. You will also see IDLE in the /Applications.
How to install python packages mac

Next method will show you how to install Python 3.x on a Mac through Homebrew.

How to install Python 3 using Homebrew

Installing an updated version of Python 3 through Homebrew is extremely simple. Of course, Homebrew should be installed on your computer, however, if you are interested in this method, then you probably have already used the program more than once.

Read more:How to Format USB for macOS and Windows?

If you haven’t Homebrew in your system, you can take script for Homebrew installing here. This script installs Homebrew to /usr/local so that you don’t need “sudo” when you brew install. It is a careful script; it can be run even if you have stuff installed to /usr/local already. It tells you exactly what it will do before it does it too. You have to confirm everything it will do before it starts.

Now to install Python 3 via Homebrew, run the following command in Terminal:

When Python 3 is installed on a Mac, you can start the program with:

In any case, after installing Python 3 on a computer, the version of Python 2.7 will still remain on it, and you will be able to use it.

How to Find out the Installed Version of Python

Open the Terminal program and use the following command:

In most cases, Python 2.7.x will be installed on macOS: either 2.7.4 or 2.7.10.

If you installed the Python update, you can check the version with the following command:

Once again, both versions of Python can coexist without conflicts.

Note: Once again, I want to remind you that you do not need to upgrade Python 2.x to Python 3.x, because this can lead to program malfunctions. Just install the updated version in parallel.