Hi everyone I would like to request some help to downgrade the Python version in Bookworm (the latest version of Raspberry Pi OS).
Disclaimer: This post may not be related directly to the OpenFlexure project, but it’s related to a project inspired by the OF microscopes.
Context
Currently, I am working on a strobe-enhanced microscopy stage for droplet microfluidic assays. The Raspberry Pi boards are used as the brain of our stage. We already have a functional version that has been used in some microfluidics workshops and lectures. The full story of how this project started I shared in this post.
Request
In October, a new Raspberry Pi OS called Bookworm was released and it comes with Python3.11. We would like to release a custom image with our software based on this OS. Unfortunately, our UI is only compatible with Python3.9. For this reason, I tried to downgrade Python but without success. I tried to create virtual environments (venv) with the required Python version but RPi didn’t allow me to do it. Only venv
with the same Python version (3.11) could be created. By this time, I haven’t found any tutorial based on Bookworm.
Is there someone who has tried to downgrade the Python version? Do you know or have any tutorial to do it safely?
PS. Everything works well with Bullseye.
Best,
Pierre
7 posts - 4 participants