Did you use a python virtual environment (venv) to install the python spidev library?
The instructions on the waveshare wiki say but that won't work.
Maybe create a venv (with system packages) and activate it, then doThe example "epd_2in9b_V3_test.py" imports epd2in9b_V3.py
which imports spidev and gpiozero
So the gpiozero should work OK with the Pi5 GPIO.
And we see
The instructions on the waveshare wiki say
Code:
sudo pip3 install spidevMaybe create a venv (with system packages) and activate it, then do
Code:
pip install spidevwhich imports spidev and gpiozero
So the gpiozero should work OK with the Pi5 GPIO.
And we see
Code:
ls /dev/spi*/dev/spidev0.0 /dev/spidev0.1 /dev/spidev10.0Statistics: Posted by neilgl — Wed Jun 25, 2025 1:11 pm