The recently bought Macbook Pro (Early 2015) comes with Python 2.7 from the beginning. You can start using Python 2.7 right away, but it's only recently that you've started using Python in earnest, so it feels like Python 2 isn't there anymore. Python 3.0 was released six years ago. Even if the hurdles are a little high, I will install the latest Python 3.4 here.
For Windows, you can install it with WinPython. Packages such as NumPy and SciPy that are used in technical calculations are also included from the beginning, which is quite convenient. There are Python2 and Python3 series, 64-bit version, and portable version. I didn't think there was anything like WinPython on a Mac, so I looked up how to install it.
I just bought a Mac and I don't know much about it, but programmers seem to install packages such as Python with Homebrew. I don't know what other packages are available, but I just want to install Python 3.4 for now, so I'll find out later.
To install it, run the Ruby one-liner described on the Homebrew site in the terminal. I was sick of having to install Ruby to install Python, but the Mac comes with Ruby from the beginning. I just don't know anything.
Easy to install Python 3.4. Just run the command below from the terminal to install it.
$ brew install python3
Only the latest version can be installed with this. What if you want to install a version other than the latest version?
Recommended Posts