chicks wrote: 
> Have you looked at 'this driver'
> (https://ssd1306.readthedocs.io/en/latest/python-usage.html)?
> 
> Also, I have a couple of repositories for driving LCD displays with LMS
> data in Python, which you may find of some use.  They use PIL and the
> framebuffer.
> 
> https://github.com/retired-guy/Squeezebox-3.5
> 
> https://github.com/retired-guy/Squeezebox

Yes I saw the driver. But sudo pip3 install ssd1306 fail (no matching
distribution).
And sudo pip3 install luma.oled result is :

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-dtl3gr_5/spidev/setup.py'"'"';
__file__='"'"'/tmp/pip-install-dtl3gr_5/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-jjxg_61v/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python3.8/spidev
cwd: /tmp/pip-install-dtl3gr_5/spidev/
Complete output (17 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
In file included from
/tmp/tcloop/gcc/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/10.2.0/include-fixed/limits.h:195,
from
/tmp/tcloop/gcc/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/10.2.0/include-fixed/syslimits.h:7,
from
/tmp/tcloop/gcc/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/10.2.0/include-fixed/limits.h:34,
from /usr/local/include/python3.8/Python.h:11,
from spidev_module.c:28:

/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/10.2.0/include-fixed/limits.h:195:15:
fatal error: limits.h: No such file or directory
195 | #include_next <limits.h>  /* recurse down to the real one
*/
|               ^~~~~~~~~~
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-dtl3gr_5/spidev/setup.py'"'"';
__file__='"'"'/tmp/pip-install-dtl3gr_5/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-jjxg_61v/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python3.8/spidev Check the logs for full command
outpu


------------------------------------------------------------------------
Wiking's Profile: http://forums.slimdevices.com/member.php?userid=72521
View this thread: http://forums.slimdevices.com/showthread.php?t=115845

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to