I didn’t knowingly do anything different! It seems inconceivable that running lcd.py
could give you the same error, the code in the st7735 library at that point is completely different
I can only guess that somehow python isn’t picking up the old/overridden dependency. At the risk of sounding daft, have you tried turning it off an on again? fwiw I’m running…
$ python --version
Python 3.9.2
on Legacy Raspberry OS and none of the fancy python venv stuff that I don’t understand anything about.
(It probably doesn’t help in any practical way but fwiw it looks like someone else has also managed to get things working using the pinned versions: PIMORONI ENVIRO indoor monitor not working)