make: *** [: lgGpio.o] Error 1
Error occurred. Exiting…
Install rpi.lgpio error:
Command: /opt/pironman5/venv/bin/pip3 install --upgrade rpi.lgpio
Status: 1
Result: Collecting rpi.lgpio
Downloading rpi_lgpio-0.6-py3-none-any.whl.metadata (2.5 kB)
Collecting lgpio>=0.1.0.1 (from rpi.lgpio)
Downloading lgpio-0.2.2.0.tar.gz (90 kB)
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’
Downloading rpi_lgpio-0.6-py3-none-any.whl (11 kB)
Building wheels for collected packages: lgpio
Building wheel for lgpio (pyproject.toml): started
Building wheel for lgpio (pyproject.toml): finished with status ‘error’
Failed to build lgpio
Error: error: subprocess-exited-with-error
× Building wheel for lgpio (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 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
creating build/temp.linux-aarch64-cpython-313
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Isrc -I/opt/pironman5/venv/include -I/usr/include/python3.13 -c lgpio_wrap.c -o build/temp.linux-aarch64-cpython-313/lgpio_wrap.o
creating build/lib.linux-aarch64-cpython-313
aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 build/temp.linux-aarch64-cpython-313/lgpio_wrap.o -L/usr/lib/aarch64-linux-gnu -llgpio -o build/lib.linux-aarch64-cpython-313/_lgpio.cpython-313-aarch64-linux-gnu.so
/usr/bin/ld: cannot find -llgpio: No such file or directory
collect2: error: ld returned 1 exit status
error: command ‘/usr/bin/aarch64-linux-gnu-gcc’ failed with exit code 1
[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-wheel-build-for-install
× 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