Skip to content
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

neopixel - no module named neopixel #187

Closed
RyDanClemens opened this issue Sep 23, 2018 · 2 comments
Closed

neopixel - no module named neopixel #187

RyDanClemens opened this issue Sep 23, 2018 · 2 comments

Comments

@RyDanClemens
Copy link

I couldn't get my ws2812b strip to run through the enclosure plugin. They work just fine when testing it out through the ws281x library alone. I made all the changes you mentioned in 172 and no luck. I think went tried the test script you wrote in 143 and it kicked back:

ImportError: No module named neopixel

A little google-foo turns up that the neopixel module has been deprecated and is now being called rpi_ws281x. Ws281x Issue 290

I installed pip, then ran sudo pip install rpi_ws281x

then used nano to update the test script to reference rpi_ws281x instead of neopixel in the first line
ran the script, all was happy with the script.

But I still cant get the actual enclosure plugin to do anything with the strip... I thought I updated the direct neopixel.py too but not seeing anything so far. suggestions?

@RyDanClemens
Copy link
Author

actually... I had turned off sudo originally and had forgotten to turn it back on. So looks like installing the new python library and updating the module reference is all that is needed... if I can figure out github in the morning I'll submit a commit with the module changes. I'm not totally sure on how to handle the updated install of the modules though from your installation standpoint.

@vitormhenrique
Copy link
Owner

I'll check this out when I have time, I changed jobs recently and it's being crazy, and I'm also going out on vacations for 30 days so it will be very difficult to check this this year....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants