I’m having a lot of trouble trying to get an Inky Impression working on a Raspberry PI using the latest Bullseye release. I’ve installed the software using
curl https://get.pimoroni.com/inky | bash
This fails to download some font packages but is otherwise successful.
I then tried running the examples under
None of the ones that actually use the screen work. They all return this:
Traceback (most recent call last): File "/home/pi/Pimoroni/inky/examples/7color/./clear.py", line 7, in <module> inky = Inky() File "/usr/local/lib/python3.9/dist-packages/inky/inky_uc8159.py", line 144, in __init__ eeprom_resolution = _RESOLUTION.keys[self.eeprom.display_variant - 14] TypeError: 'builtin_function_or_method' object is not subscriptable
Even stranger, copying the examples outside of that directory has them fail with
ModuleNotFoundError: No module named 'inky.inky_uc8159'; 'inky' is not a package.
I do want to note that i2cdetect does see the device, and the example using the buttons does work, too.
Is this library (and installation script) perhaps not updated for the latest Bullseye? That’s all I can think of…