December 2017
Intermediate to advanced
386 pages
10h 42m
English
Once Homebrew is set up, install Python 3 by running the following command from a Terminal window:
brew install python3
The installation process will start and may take a few minutes. When it is finished, run the following from the command line:
python3
If the installation is correct, this will print information about the Python interpreter, shown as follows:
Python 3.x.x (default, Apr 4 2017, 09:40:21) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)] on darwinType "help", "copyright", "credits" or "license" for more information.>>>
You can check that you are indeed running the Python distribution that you installed by checking the version number, indicated by 3.x.x in the preceding sample. You can now exit Python ...
Read now
Unlock full access