-
Notifications
You must be signed in to change notification settings - Fork 655
Description
I need help with Waveshare 13.3inch E Ink Spectra 6 (E6) Full Color E-Paper Display on a Pi Zero 2 W. the scripts for 13.3in screen fails during install
sudo bash install/install.sh -W epd13in3k
Optional parameter WS is set for Waveshare support. Screen type is: epd13in3k
Checking if inkypi.service is running
inkypi.service not running [✔]
Fetching Waveshare driver for: epd13in3k
Waveshare driver 'epd13in3k.py' already exists at /home/chris/InkyPi/install/../src/display/waveshare_epd/epd13in3k.py [✔]
Waveshare epdconfig file already exists at /home/chris/InkyPi/install/../src/display/waveshare_epd/epdconfig.py [✔]
Enabling interfaces required for inkypi
SPI Interface has been enabled. [✔]
I2C Interface has been enabled. [✔]
Enabling both CS lines for SPI interface in config.txt
dtoverlay for spi0-2cs already specified
Fetch available system dependencies updates. [✔]
Installing system dependencies. [✔]
OS version is not Bookworm - skipping zramswap setup.
Enabling and starting earlyoom service.
Synchronizing state of earlyoom.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable earlyoom
Installing inkypi to /usr/local/inkypi
Removing existing installation found at /usr/local/inkypi [✔]
Creating symlink from /home/chris/InkyPi/install/../src to /usr/local/inkypi/src [✔]
Creating python virtual environment.
Installing python dependencies. [✔]
Adding additional dependencies for waveshare to the python virtual environment.
Installing additional Waveshare python dependencies. [|] error: subprocess-exited-with-error
× Building wheel for lgpio (pyproject.toml) 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
Installing additional Waveshare python dependencies. [/] error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> lgpio
Installing additional Waveshare python dependencies. [✔]
Adding executable to /usr/local/bin/inkypi
Copying config files to /home/chris/InkyPi/install/../src/config
device.json already exists in /home/chris/InkyPi/install/../src/config [✔]
Updated display_type to: epd13in3k
Installing inkypi systemd service.
INKYPI Installation Complete! [✔]
[•] A reboot of your Raspberry Pi is required for the changes to take effect