Topics
Published on March 8, 2017 by ProgrammingKnowledge

This video explains how to install Python 3 in a Mac OS X, both Mavericks and Yosemite. As the Python website says, “Python 2.x is legacy, Python 3.x is the present and future of the language.”
For those who are learning Python on a Mac, it may be slightly frustrating that Apple doesn’t provide the latest version, typically used when learning Python these days.
The easiest way is to download the Mac installer,

www.python.org/ftp/python/3.5.0/python-3.5.0-macosx10.6.pkg
Install it by following the steps in the GUI, go to terminal and to start python type,

python3

Leave a Reply

10 Comments on "How to Install Python 3.6 on Mac OS X"

Notify of
avatar

Saptarshi Dutta
Guest
Saptarshi Dutta
1 month 21 days ago

Hi, i have downloaded all your tutorials and i could successfully embark upon my journey but i got stuck up while doing a program of decision making where i am trying to make a program to determine whether BP is normal or not but the problem is with BP=120/80; if i enter 130,110 it correctly describes the outcome but in fraction there is an error message regarding conversion of data. I wish i could have attached the program but there is no provision here. Please help me out, if possible please give me your email id? Regards

Dean Vollebregt
Guest
Dean Vollebregt
1 month 27 days ago

How do we do it using pip tool?

Bev in TX
Guest
Bev in TX
2 months 17 days ago
Python 2.x is already installed on macOS. If you start Python via the bare "python" command in Terminal, then by default you will get Python 2.x — not the Python 3.x that you just installed. You can see this in the video, where it shows the Python version at around 5:27 min as:Python 2.7.6 (default, Sep 9 2014, 15:04:36)[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-6-00.0.39)] on darwinTo use your Python 3 installation, use "python3" to start Python in Terminal and you will see something like the following:Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) [GCC 4.2.1 (Apple Inc. build 5666) (dot… Read more »
Sebastian Lacki
Guest
Sebastian Lacki
4 days 8 hours ago

Thats what I'm looking to resolve. Do you know how to make python 3.x the default option?

Shubham Rathi
Guest
Shubham Rathi
2 months 18 days ago

Dear sir, Please make a video for installing php on mac. Along with a simple for program. It will be very helpful. Thanks

ChroniZz
Guest
ChroniZz
2 months 17 days ago

Shubham Rathi Choose whichever one you like though.

ChroniZz
Guest
ChroniZz
2 months 17 days ago

Shubham Rathi I use atom or visual studio when I code php

Shubham Rathi
Guest
Shubham Rathi
2 months 18 days ago

Which IDE to use?Sublime text? or any other?

ChroniZz
Guest
ChroniZz
2 months 18 days ago

Shubham Rathi just download Mamp.

daniel batista
Guest
daniel batista
2 months 18 days ago

Python is a language is not something you download

wpDiscuz