Closed Gun-neR closed 3 years ago
but after upgrading to Python 3.9.6
How did you upgrade? Try running
cd /path/to/luma.examples
/usr/local/bin/python3.9 -m pip install -e .
to install luma.examples again using python3.9
and
/usr/local/bin/python3.9 /home/pi/luma.examples/examples/pi_logo.py -d ssd1331 -i spi --width 96
to run the example.
How did you upgrade?
https://raspberrytips.com/install-latest-python-raspberry-pi/
Try running
That just tosses out a whole list of errors... apparently something is now broken with my python versions, or at least the symbolic links, as I can't even start Thonny anymore.
However I was able to run the example by pointing directly to python3.7 (but not any other version variations) probably becasue that is what it was installed with in the first place. If I recall, I had to use pip3 in order to even install it (the examples).
Works fine --> python3.7 /home/pi/luma.examples/examples/pi_logo.py -d ssd1331 -i spi --width 96
So I think the issue is at my end, with a messed up python install or something with the links, and not your library.
Sorry for false alarm.
Things worked fine after a clean install of RPi OS Buster, but after upgrading to Python 3.9.6 none of the examples will run.