Skip to content

Python 3 7 install

Python 3.7 (or newer) Verification

The Scratch 3 OneGPIO extension servers utilize the latest advances in the Python 3 asyncio library. Python 3.7 or later is required to run the servers.

To check if you have Python 3.7 (or newer) installed open a command window and type:

python3 -V

For Windows, you may need to type:

python -V

The Python version will be displayed:

python3
Python 3.7.2 (default, Dec 31 2018, 14:25:33)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

For Windows users, this may look something like:


C:\Users\Alan>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Installing The Latest Version of Python 3

Always install the newest stable release of Python 3.

Windows Users

To install Python 3.7 (or newer), go to the Python home page, and download the latest 3.7 (or later) distribution for your operating system.

If you have Python 2.7 installed, you do not need to remove it.

During the installation process, if there is a checkbox to add Python 3.7 to your path, make sure it is checked.

Mac Users

Go to the python.org download page for Mac and download and install the latest version of Python 3.

Raspberry Pi Users

As of the 2019-09-26 release of Raspbian Buster with desktop and recommended software comes with Python 3.7 pre-installed. If you are using an older version of Raspbian, it is easiest to flash the latest version of Rasbian on to an SD card and start anew.

Linux Users

If Python 3.7 is not included with your distribution, you may install it and have it coexist with the supplied version, using the pyenv utility.