News:

SMF - Just Installed!

Main Menu

64-Bit Bookworm Build?

Started by ElRay70K70H, March 10, 2024, 01:00:13 PM

Previous topic - Next topic

ElRay70K70H

Not sure if this belongs here, or in the Hacking forum?

Any way, I have an RPi4 with a fresh install of Bookworm and decided I'd install the piStomp code on it.  Following the directions on the "software_installation_64-bit" page (like I did with Bullseye), I ran into some issues with the new "externally-managed-environment" set-up.  I was able to install a number of the required Python packages using apt, but not all are available.

So, before I start manually pre-installing the remaining packages with the "--break-system-packages" flag, or delete "/usr/lib/python3.11/EXTERNALLY-MANAGED", has there been any official progress, or an official build tree I can work with? My preference would be to make the changes in the v2 code and have it pushed forward to the v3 code, but I understand if there's no real need to update the v2 code with the v3 hardware set coming out.

Randall (Admin)

Effort has been made for Bookworm (it includes some significant changes), but the changes are not complete yet.

The main effort is to convert RPi.GPIO usage to instead use gpiozero:

https://github.com/TreeFallSound/pi-stomp/commit/fa208079f4741e6e01899ef682609fcf153521d2

You'll definitely need to delete /usr/lib/python3.11/EXTERNALLY-MANAGED before building.  I'm near certain that most things will work, but I believe a few references to RPi.GPIO still exist.