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

No module named 'NEOPIXEL' #358

Open
kinjalsoft opened this issue Apr 25, 2019 · 3 comments
Open

No module named 'NEOPIXEL' #358

kinjalsoft opened this issue Apr 25, 2019 · 3 comments
Labels
notice Issues that are solved/do not require input, but preserved and marked of interest to users.

Comments

@kinjalsoft
Copy link

Hi..
So basically I recently bought a Raspberry pi with AlphaBot2 pi
The issue is that when I try to run the Line Follower program from the zip provided in the manual there is an error which comes and that is :
Import error *
No module named "neopixel"
I have also attached one script with it
Line Follow.txt

Please answer this issue

@ChanJeff123
Copy link

copy example code to rpi_ws281x-master/python file

@Gadgetoid Gadgetoid added the notice Issues that are solved/do not require input, but preserved and marked of interest to users. label Jun 28, 2019
@Gadgetoid
Copy link
Collaborator

Gadgetoid commented Jun 28, 2019

Change from neopixel import * to from rpi_ws281x import *. The "neopixel" name was conflicting with an Adafruit package, and since it's their trademark it was dropped entirely from the shipped Python library.

Original discussion: rpi-ws281x/rpi-ws281x-python#8
And notice that it was dropped: rpi-ws281x/rpi-ws281x-python#10

@combs
Copy link
Contributor

combs commented May 12, 2020

I have a PR in for this, #399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notice Issues that are solved/do not require input, but preserved and marked of interest to users.
Projects
None yet
Development

No branches or pull requests

4 participants