-
Notifications
You must be signed in to change notification settings - Fork 109
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
Running with root possible? #143
Comments
How (and as which user) did you install python-osc on the host? |
Ah this helped! Thanks man! I installed it again with sudo pip3 install, then it appeared! |
@janfiess do note, that using It will install to the system-wide location, but it will also lead to this (language package manager based) installation conflicting with any system package provided files (when on Debian this might not be the case as they heavily patch pip to work different from the upstream suggestions, ie. by installing to The ideal way is to either rely on a system package management provided package (if available), or to fix the setup you are using to allow running the code as an unprivileged user (from a security perspective the latter is always preferable). Looking at the documentation of the rpi_ws281x package it states clearly:
You do not need root to run your code, but you need to add your user to the |
I need to run python-osc together with the rpi_ws281x module (Adafruit library for running addressable LED pixels).
For running that library I need root
However, if I use root with python-osc, the module will not be found. Is there any solution.
I found similar issues, but the did not work for me.
The text was updated successfully, but these errors were encountered: