How do I install Python 3

Python already installed?

Python is already installed in many operating systems. This can be controlled very easily by letting Python print its version. If Python is not installed, an error message appears or we know the current version afterwards.

Under Windows we need the command line, which we can start directly using the search and cmd.exe (+ - command prompt). We then enter at the cursor:

python version

On Mac and Linux, the command line (+) will open the terminal ( and type in there:


On the Mac it is quite possible to have 2 different versions of Python installed. Usually the old Python 2.7 version will be installed automatically. New versions of Python> = 3.7 are useful for learning

Install Python

Installation is very easy - the website provides downloads for all common operating systems such as Windows, Linux / Unix, macOS and others.

In the first step, we download the installer for your own operating system and then let it install Python.

Definitely with the Windows installer "Add Python 3.7 to PATH" click!

If you have forgotten to click the option to automatically enter the path under Windows in the installer, then manual work is the order of the day. The path for the environment variables must be set under Windows: This can be found under: System properties -> Extended tab -> Environment variables button -> System variables and then select Path and click on Edit. If available, existing entries should be retained! You expand the path under Windows with a semicolon and the path on your own hard drive, e.g. (; C: Python34)

A command line can be used in Windows to test whether everything is working. Enter "cmd" via Windows search and then simply enter python in the "black box".

Here you can see the version of Python and its date.

For testing you can now enter directly:

The spelling of the code in old Python versions looks different, so always work with the latest version.

Now we can start learning Python.

Recommend • Social Bookmarks • Thank you