Hello, I’m following the tutorial on how to control ws281x LED strips with a Raspberry Pi. Everything has worked until I started to run the OneStripNeopixel.py file. I’m getting the following error.
Traceback (most recent call last):
File “/home/pltw1/Desktop/OneStripNeopixel.py”, line 3, in
import board
ModuleNotFoundError: No module named ‘board’
I’m using a Raspberry Pi 4B with a 50 LED strip of ws2811 LEDs.
I’m pretty new to Raspberry Pi, so any help would be appreciated. Thanks!
Hi, thank you for the help. Unfortunately I inputted the commands you suggested into the terminal and I am still having the same issue. It happens with both the ‘rpi_ws281x’ module and the ‘board’ module. Any other things I should try?
Not sure if it matters or not, but I am doing everything in a virtual environment.