-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running inside Docker container #351
Comments
The error your seeing is a failure to open either Lines 263 to 288 in 6b01e53
I don't know docker from my elbow but I'm guessing it does not allow access to these by default. It would seem the Node JS example you link answers this in the readme where it suggests docker be run like so:
or like so:
Aaaand this seems to be answered in an issue that references this one anyway: rpi-ws281x/rpi-ws281x-python#14 So my sleuthing, while a waste of time, was right! |
After building a Docker image that includes the
rpi-ws281x-python
library (viasudo pip install rpi_ws281x
), I'm getting the following error when running the build:I noticed this error was also mentioned in #210 and could be related to virtual environments, and could mean that there isn't access to the hardware (e.g. GPIO pins).
Can someone provide guidance as to what this error means, any implications, or further clarifications needed?
FWIW, it seems like LED control is available Node (see https://github.com/hypriot/rpi-node-neopixel-example), but I don't know if that has implications for how the Python library can operate.
The text was updated successfully, but these errors were encountered: