Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7512

Troubleshooting • Re: Help - Waveshare 2.9 inch flexible and Pi5

$
0
0
Did you use a python virtual environment (venv) to install the python spidev library?
The instructions on the waveshare wiki say

Code:

sudo pip3 install spidev
but that won't work.
Maybe create a venv (with system packages) and activate it, then do

Code:

pip install spidev
The 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

Code:

ls /dev/spi*/dev/spidev0.0  /dev/spidev0.1  /dev/spidev10.0

Statistics: Posted by neilgl — Wed Jun 25, 2025 1:11 pm



Viewing all articles
Browse latest Browse all 7512

Trending Articles