Hi
I’m new with piroman. I’m configure piroman case with raspberry 5with kali linux but I found problem.
I install kali from raspberry distribution,
uname -a
Linux kali-raspberry-pi5 6.6.63-v8+ #1 SMP PREEMPT Tue Dec 3 18:51:49 UTC 2024 aarch64 GNU/Linux
then I start install piroman software but I got error.
After enter command: sudo python3 install.py
I receive:
Installing for Pironman 5
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
Install APT dependencies...
- Install APT dependencies: libopenjp2-7 libjpeg-dev libfreetype6-dev lsof kmod i2c-tools influxdb... 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 Python source packages...
- Uninstall pironman5 old package... Done
- Install pironman5 from source... Done
- Uninstall pm_auto old package... Done
- Install pm_auto from source... Error
- 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
- Start service... 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... Done
Error happened in install process:
Install pm_auto from source error:
Command: /opt/pironman5/venv/bin/pip3 install git+https://github.com/sunfounder/pm_auto.git
Status: 1
Result: Collecting git+https://github.com/sunfounder/pm_auto.git
Cloning https://github.com/sunfounder/pm_auto.git to /tmp/pip-req-build-csdyspug
Resolved https://github.com/sunfounder/pm_auto.git to commit 3d11244956a4bfeb6e29176d1406bc06d7aef781
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: adafruit-circuitpython-neopixel-spi in /opt/pironman5/venv/lib/python3.13/site-packages (from pm_auto==1.1.4) (1.0.11)
Requirement already satisfied: smbus2 in /opt/pironman5/venv/lib/python3.13/site-packages (from pm_auto==1.1.4) (0.5.0)
Requirement already satisfied: psutil in /usr/lib/python3/dist-packages (from pm_auto==1.1.4) (5.9.8)
Collecting influxdb (from pm_auto==1.1.4)
Using cached influxdb-5.3.2-py2.py3-none-any.whl.metadata (6.9 kB)
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from pm_auto==1.1.4) (11.1.0)
Collecting gpiod (from pm_auto==1.1.4)
Using cached gpiod-2.2.4-cp313-cp313-linux_aarch64.whl
Collecting gpiozero (from pm_auto==1.1.4)
Using cached gpiozero-2.0.1-py3-none-any.whl.metadata (9.9 kB)
Collecting rpi.lgpio (from pm_auto==1.1.4)
Using cached rpi_lgpio-0.6-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: Adafruit-Blinka in /opt/pironman5/venv/lib/python3.13/site-packages (from adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (8.53.0)
Requirement already satisfied: adafruit-circuitpython-busdevice in /opt/pironman5/venv/lib/python3.13/site-packages (from adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (5.2.11)
Requirement already satisfied: adafruit-circuitpython-pixelbuf in /opt/pironman5/venv/lib/python3.13/site-packages (from adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (2.0.7)
Collecting colorzero (from gpiozero->pm_auto==1.1.4)
Using cached colorzero-2.0-py2.py3-none-any.whl.metadata (4.1 kB)
Requirement already satisfied: python-dateutil>=2.6.0 in /usr/lib/python3/dist-packages (from influxdb->pm_auto==1.1.4) (2.9.0)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from influxdb->pm_auto==1.1.4) (2025.1)
Requirement already satisfied: requests>=2.17.0 in /usr/lib/python3/dist-packages (from influxdb->pm_auto==1.1.4) (2.32.3)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/dist-packages (from influxdb->pm_auto==1.1.4) (1.17.0)
Requirement already satisfied: msgpack in /usr/lib/python3/dist-packages (from influxdb->pm_auto==1.1.4) (1.0.3)
Collecting lgpio>=0.1.0.1 (from rpi.lgpio->pm_auto==1.1.4)
Using cached lgpio-0.2.2.0.tar.gz (90 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.17.0->influxdb->pm_auto==1.1.4) (2025.1.31)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/lib/python3/dist-packages (from requests>=2.17.0->influxdb->pm_auto==1.1.4) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.17.0->influxdb->pm_auto==1.1.4) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.17.0->influxdb->pm_auto==1.1.4) (2.3.0)
Requirement already satisfied: Adafruit-PlatformDetect>=3.70.1 in /opt/pironman5/venv/lib/python3.13/site-packages (from Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (3.77.0)
Requirement already satisfied: Adafruit-PureIO>=1.1.7 in /opt/pironman5/venv/lib/python3.13/site-packages (from Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (1.1.11)
Requirement already satisfied: binho-host-adapter>=0.1.6 in /opt/pironman5/venv/lib/python3.13/site-packages (from Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (0.1.6)
Requirement already satisfied: pyftdi>=0.40.0 in /opt/pironman5/venv/lib/python3.13/site-packages (from Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (0.56.0)
Requirement already satisfied: adafruit-circuitpython-typing in /opt/pironman5/venv/lib/python3.13/site-packages (from Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (1.11.2)
Requirement already satisfied: sysv_ipc>=1.1.0 in /opt/pironman5/venv/lib/python3.13/site-packages (from Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (1.1.0)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from colorzero->gpiozero->pm_auto==1.1.4) (75.6.0)
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from binho-host-adapter>=0.1.6->Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (3.5)
Requirement already satisfied: pyusb!=1.2.0,>=1.0.0 in /opt/pironman5/venv/lib/python3.13/site-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (1.3.1)
Requirement already satisfied: adafruit-circuitpython-requests in /opt/pironman5/venv/lib/python3.13/site-packages (from adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (4.1.9)
Requirement already satisfied: typing_extensions~=4.0 in /usr/lib/python3/dist-packages (from adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (4.12.2)
Requirement already satisfied: Adafruit-Circuitpython-ConnectionManager in /opt/pironman5/venv/lib/python3.13/site-packages (from adafruit-circuitpython-requests->adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-neopixel-spi->pm_auto==1.1.4) (3.1.3)
Using cached gpiozero-2.0.1-py3-none-any.whl (150 kB)
Using cached influxdb-5.3.2-py2.py3-none-any.whl (79 kB)
Using cached rpi_lgpio-0.6-py3-none-any.whl (11 kB)
Using cached colorzero-2.0-py2.py3-none-any.whl (26 kB)
Building wheels for collected packages: pm_auto, lgpio
Building wheel for pm_auto (pyproject.toml): started
Building wheel for pm_auto (pyproject.toml): finished with status 'done'
Created wheel for pm_auto: filename=pm_auto-1.1.4-py3-none-any.whl size=45575 sha256=184ab3a26de9aee520d56a85b4241c4d760bbd89aeea8cf64ca56aee3b12225c
Stored in directory: /tmp/pip-ephem-wheel-cache-1bzqsi24/wheels/d7/6f/eb/860b3b9eac7ea58988b0afeecb238c06a45613d059604194cb
Building wheel for lgpio (setup.py): started
Building wheel for lgpio (setup.py): finished with status 'error'
Running setup.py clean for lgpio
Successfully built pm_auto
Failed to build lgpio
Error: Running command git clone --filter=blob:none --quiet https://github.com/sunfounder/pm_auto.git /tmp/pip-req-build-csdyspug
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
building '_lgpio' extension
swigging lgpio.i to lgpio_wrap.c
swig -python -o lgpio_wrap.c lgpio.i
error: command 'swig' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lgpio
ERROR: Failed to build installable wheels for some pyproject.toml based projects (lgpio)
Try to fix it yourself, or contact service@sunfounder.com with this message
Please advice
Masta_Kila