Python has several versions, and there are a number of ways to set it up on each operating system. Use this appendix to install Python if the approach in Chapter 1 didn’t work or if you want to install a different version of Python than the one that came with your system.

Python on Windows

The instructions in Chapter 1 show you how to install Python using the official installer at If you couldn’t get Python to run after using the installer, the troubleshooting instructions in this section should help you get Python up and running.

Finding the Python Interpreter

If you’ve entered the simple ...

Get Python Crash Course, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.