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.6 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.6 to PATH”. Then click “Install Now” and follow the instructions to install Python.

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

> py -3.6 --version
Python 3.6.5

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.6 --version
Python 3.6.5

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

To install Python 3.6 on Ubuntu:

$ sudo apt-get install python3.6

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

$ sudo yum install python3.6

To install Python 3.6 on Fedora (22+):

$ sudo dnf install python3.6

Mac

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

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

$ python3.6 --version
Python 3.6.5