Tested on:RPi3; Raspbian Stretch
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
6

Installing Python3.6 on a Raspberry Pi

I’m mostly happy with older Python versions, but Python3.6 offers a new method for string generation, the f-string syntax, which i prefer over older methods.

Installation
Enter in the terminal

Test
Start Python3 with

and enter in the IDE

Links
Realpython f-string syntax introduction: https://realpython.com/python-f-strings/

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.

6 Comments

  1. hi I did what you said, it was successful yet, when I type in my Debian linux command prompt it returns “Python 2.7.13”

    Please help and absolutely fresh to coding or programming

  2. i’ve installed 3.6.3, but when i run python3 i’m still going to 3.5 … how do i change this?

Comment

Time limit is exhausted. Please reload CAPTCHA.