Install Python¶

The first step to using Python is installing Python! If you haven’t done that quite yet, scroll on down to your operating system below and get going. Ready, set, go!

Windows¶

Please visit the Python 3 page and scroll down to the list of files. Download one of the installer files for Windows - we had good luck with the web-based installer that downloads the parts of Python it needs as it is installing. Run the installer, and on the first screen of the installer, check “Add Python 3 to PATH”. Then click “Install Now” and follow the instructions to install Python.

To verify that Python 3 installed correctly, open up your command prompt (Start -> Run -> cmd) and run:

> py -3 --version
Python 3.7.3

Note

See the Windows Getting Started documentation for more information if you have any questions.

Linux¶

It is very likely you already have Python installed. To check that you have Python installed, open a console and type:

$ python3 --version
Python 3.7.3

If you do not have Python 3 installed, you should install it using your Linux distribution’s package manager.

To install Python 3 on Ubuntu:

$ sudo apt-get install python3

To install Python 3 on Fedora (up to 21):

$ sudo yum install python3

To install Python 3 on Fedora (22+):

$ sudo dnf install python3

Mac¶

Please visit Python 3 page and download the 64-bit Python installer. After downloading the correct package, run it to install Python.

Verify that Python 3 was installed correctly by opening the Terminal application and running:

$ python3 --version
Python 3.7.3