Raspios Bookworm pironman5 install error

Hello,
I have installed Piroman5 many times without issue. However, after a clean install of RaspiOS Bookworm, after following the PI5 install instructions, I’m getting a fatal error:

sudo python3 install.py
Installing for Pironman 5
Version: 1.2.17
 
Install build dependencies...
 - Update package list... Done
 - Install build dependencies: python3-pip python3-venv git curl... Done
Run commands before install...
 - Run command before install: Download influxdb key... Done
 - Run command before install: Setup influxdb install source... Done
 - Run command before install: Cleanup influxdata-achive.key... Done
 - Run command before install: Install LGPIO... Done
Install APT dependencies...
 - Install APT dependencies: i2c-tools libopenjp2-7 kmod python3-gpiozero lsof influxdb libjpeg-dev libfreetype6-dev... Done
Create working directory...
 - Create work directory... Done
 - Change work directory mode... Done
 - Change work directory owner... Done
 - Create log directory... Done
 - Change log directory mode... Done
 - Change log directory owner... Done
 - Remove old virtual environment... Done
 - Create virtual environment... Done
Install PIP dependencies...
 - Install pip... Done
 - Install setuptools... Done
 - Install build... Done
 - Install Pillow... Done
 - Install gpiod... Done
 - Install rpi.lgpio... Done
 - Install smbus2... Done
 - Install adafruit-circuitpython-neopixel-spi... Done
 - Install gpiozero... Done
 - Install Adafruit-Blinka==8.59.0... Done
Install Python source packages...
 - Uninstall pironman5 old package... Done
 - Install pironman5 from source... Error
 - Uninstall pm_auto old package... Done
 - Install pm_auto from source... Done
 - Uninstall pm_dashboard old package... Done
 - Install pm_dashboard from source... Done
 - Uninstall sf_rpi_status old package... Done
 - Install sf_rpi_status from source... Done
Setup auto start...
 - Copy binary file... Done
 - Change binary file mode... Done
 - Copy service file... Done
 - Enable service... Done
 - Reload systemd... Done
Probe modules...
 - add module: i2c-dev... Done
Copy device tree overlay...
 - Copy dtoverlay sunfounder-pironman5.dtbo... Done
Change work directory owner...
 - Change work directory owner... Done
Finished
Cleanup
 - Remove build... Error Ignored


Error happened in install process:
Install pironman5 from source error:
  Command: /opt/pironman5/venv/bin/pip3 install ./
  Status: 1
  Result: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /home/pi/pironman5
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: smbus2 in /opt/pironman5/venv/lib/python3.11/site-packages (from pironman5==1.2.17) (0.5.0)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from pironman5==1.2.17) (5.9.4)
Requirement already satisfied: adafruit-circuitpython-neopixel-spi in /opt/pironman5/venv/lib/python3.11/site-packages (from pironman5==1.2.17) (1.0.13)
Requirement already satisfied: Adafruit-Blinka==8.59.0 in /opt/pironman5/venv/lib/python3.11/site-packages (from pironman5==1.2.17) (8.59.0)
Collecting RPi.GPIO (from pironman5==1.2.17)
  Using cached rpi_gpio-0.7.1-cp311-cp311-linux_aarch64.whl

  Error: WARNING: Ignoring invalid cache entry origin file /root/.cache/pip/wheels/58/9a/da/bc92ced3a63320f51bfb2eb461f0408a206acdcedfa57fbfbe/origin.json for rpi_gpio-0.7.1-cp311-cp311-linux_aarch64.whl (Expecting value: line 1 column 1 (char 0))
ERROR: Wheel 'rpi-gpio' located at /root/.cache/pip/wheels/58/9a/da/bc92ced3a63320f51bfb2eb461f0408a206acdcedfa57fbfbe/rpi_gpio-0.7.1-cp311-cp311-linux_aarch64.whl is invalid.

Try to fix it yourself, or contact service@sunfounder.com with this message

I’ve tried reinstalling the rpi-gpio package…still the same error.

Are you using the Bookworm Lite version or the desktop version of the system?
If you are using the Lite version, you need to execute the following commands before installing the software:
sudo apt-get update
sudo apt-get install git -y

If you are using the desktop version, you can skip the above commands and directly execute the following command to install the software:
cd ~
git clone -b 1.2.15 GitHub - sunfounder/pironman5: Code for Raspberry Pi 5 case (Pironman5) --depth 1
cd ~/pironman5
sudo python3 install.py
sudo apt-get install python3 python3-pip python3-setuptools -y