Author Topic: 64-Bit Bookworm Build?  (Read 589 times)

ElRay70K70H

  • Newbie
  • *
  • Posts: 22
    • View Profile
64-Bit Bookworm Build?
« on: March 10, 2024, 01:00:13 PM »
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)

  • Administrator
  • Full Member
  • *****
  • Posts: 222
    • View Profile
Re: 64-Bit Bookworm Build?
« Reply #1 on: March 10, 2024, 04:58:05 PM »
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.