This repository has been archived by the owner on May 7, 2023. It is now read-only.
Replies: 1 comment
-
Step 1 is to fix the mixing library I spotted first: However this did not resolve the issue. .And again not enough, so .... And then it finished the compilation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
After reading the article I have been trying to get this going on my Raspberry PI 400 but it spews out loads of errors.
This both with the per user variant
pip3 install --user streamdeck_ui
or the variant for all userssudo pip3 install streamdeck_ui
.The first section is of the ful output is included below
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/setup.py'"'"'; file='"'"'/tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-b_r1ug0e
cwd: /tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/
Complete output (21 lines):
running bdist_wheel
running build
running build_ext
cythoning hid.pyx to hid.c
/tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/.eggs/Cython-0.29.34-py3.9-linux-aarch64.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/hid.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
cythoning hidraw.pyx to hidraw.c
/tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/.eggs/Cython-0.29.34-py3.9-linux-aarch64.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-8ax_hwlv/hidapi_0bbb8a3030e2473ea8b6b667a9f7a159/hidraw.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'hid' extension
creating build
creating build/temp.linux-aarch64-3.9
creating build/temp.linux-aarch64-3.9/hidapi
creating build/temp.linux-aarch64-3.9/hidapi/libusb
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python3.9 -c hid.c -o build/temp.linux-aarch64-3.9/hid.o
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python3.9 -c hidapi/libusb/hid.c -o build/temp.linux-aarch64-3.9/hidapi/libusb/hid.o
hidapi/libusb/hid.c:47:10: fatal error: libusb.h: Bestand of map bestaat niet
47 | #include <libusb.h>
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
ERROR: Failed building wheel for hidapi
Beta Was this translation helpful? Give feedback.
All reactions