Open RosensRauk opened 4 months ago
I don't currently have any direct experience with the bookroom release, unfortunately. This late 2023 thread might be helpful, though:
Installing spidev https://dietpi.com/forum/t/installing-spidev/17779
A later post in that thread states the following:
ok I see. python3-spidev is pulled from https://archive.raspberrypi.org/ Bullseye repository, while python3 is pulled from http://raspbian.raspberrypi.org/ Bookworm repository. This is causing a conflict between versions now. Unfortunately there is still no Bookworm repository available from https://archive.raspberrypi.org/
If that is still the case, then python3-spidev would have to be either compiled from scratch or found via some alternative repository.
There's also this ...
Comment in DietPi Issue 6549 https://github.com/MichaIng/DietPi/issues/6549#issuecomment-1678637562
That's [pulling from a Debian repo] fine for time being. At the moment RPI guys did not provide a Bookworm repository. Therefore, we need to pull some files from Debian Bookworm side.
As I understand Lumacore is needed for use of an hdmi-display via front buffer copy. I have been struggling and failing the install of Kodi_panel dependencies.
Using the walk through recommended from luma.lcd, trying to get my two hdmi 7inch displays to use kodi_panel to view stats remotely from my networkd Coreelec (vim3) and hopefully also my Home Assistant stats. I cannot get Kodi_panel to work on -Raspberry pi 4 DietPi v9.3.0 (bookworm) with hdmi-display w usb multi touch.
Install of luma.lcd is giving this Trying: $ ~/luma-env/bin/python -m pip install --upgrade luma.lcd Gets: "Building wheel for spidev (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [23 lines of output] /tmp/pip-build-env-wbp8h11c/overlay/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options !!
error: command 'aarch64-linux-gnu-gcc' 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 spidev Failed to build spidev ERROR: Could not build wheels for spidev, which is required to install pyproject.toml-based projects"
Tried to manually install missing dependencies:
"$ sudo apt-get update $ sudo apt-get install python3 python3-pip python3-pil libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libopenjp2-7 libtiff5 -y"
Error installing Libtiff5: "Libtiff5 -y" gives: "E: Unable to locate package libtiff5"
Tried: -build with libtiff6 -install gcc-arm-linux-gnueabihf
Maybe this is related to bookworm or Diepi?
I am not the best with these kinds of things and would appreciate any pointers getting Kodi_panel to work on my RPI4 remotely (Linux flavor doesn't matter).