error output when trying to pip install luma.core is
Code: -------------------- Building wheels for collected packages: spidev Building wheel for spidev (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vcnpqe_4/spidev/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-d6tospu4 cwd: /tmp/pip-install-vcnpqe_4/spidev/ Complete output (12 lines): running bdist_wheel running build running build_ext building 'spidev' extension creating build creating build/temp.linux-armv7l-3.8 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O3 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -O3 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -fPIC -I/usr/local/include/python3.8 -c spidev_module.c -o build/temp.linux-armv7l-3.8/spidev_module.o spidev_module.c:28:10: fatal error: Python.h: No such file or directory 28 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for spidev Running setup.py clean for spidev Failed to build spidev Installing collected packages: spidev, luma.core Running setup.py install for spidev ... error ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vebbc7i6/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/tc/.local/include/python3.8/spidev cwd: /tmp/pip-install-vcnpqe_4/spidev/ Complete output (12 lines): running install running build running build_ext building 'spidev' extension creating build creating build/temp.linux-armv7l-3.8 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O3 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -O3 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -fPIC -I/usr/local/include/python3.8 -c spidev_module.c -o build/temp.linux-armv7l-3.8/spidev_module.o spidev_module.c:28:10: fatal error: Python.h: No such file or directory 28 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/local/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vebbc7i6/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/tc/.local/include/python3.8/spidev Check the logs for full command output. -------------------- ------------------------------------------------------------------------ psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=113512 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix