Can some version of python not run on some version of Raspbian? Is there some thing in the architecture of some version of Raspberry Pi that could make them incompatible with some versions of python?

  • 1
    What's wrong with using the python version that's shipped (ready installed) with Raspbian Buster? That's python3 v3.7.3 or for retro users who need the unsupportable python2 (because they forgot it went end of life on Jan 1st, 2020) it's 2.7.16.
    – Dougie
    Jan 22, 2020 at 20:02
  • You'll have to provide much more information. From your other question, it looks like you're trying to install Flask using pip. I've just tried it, and was able to install it without any problems using both Python 3.7 (included with Raspbian Buster) and Python 3.8.1 (compiled from source). Please edit your post and include the exact commands you're running, and the error messages they produce.
    – tttapa
    Jan 23, 2020 at 0:22

2 Answers 2


I'm curious what you might be encountering, because I have installed the latest versions of Raspbian on my oldest RPi devices and I haven't experienced any issues.

Supported Python Versions can be found here: Python Wiki


Running different versions of python is not an issue of the hardware, means version of a Raspberry Pi. It is an issue of the version of the Raspbian distribution. A specific python version is integrated into the distribution with its shared libraries and tested that it runs there without dependency and version problems. Raspbian Stretch comes with python 3.5, Raspbian Buster comes with python 3.7. You can install Buster on all Raspberry Pi versions and have python 3.7 available but installing python 3.7 on Raspbian Stretch will not work out of the box. Mostly you have to compile it from source to match the different shared libraries from Stretch. This process is called backport. For Debian you can find precompiled backports at https://backports.debian.org/.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.