SuperMakeSomething / neopixel-led-mirror

Python and Arduino code for the Neopixel LED Mirror featured in Super Make Something Episode 20!
12 stars 6 forks source link

AttributeError: module 'neopixel' has no attribute 'GRB' #1

Open brisbaneroboticsclub opened 4 years ago

brisbaneroboticsclub commented 4 years ago

pi@raspberrypi:~/neopixel-led-mirror $ python3 neopixelMirror.py Traceback (most recent call last): File "neopixelMirror.py", line 69, in colorOrder = neopixel.GRB AttributeError: module 'neopixel' has no attribute 'GRB'

andrew-lyons commented 4 years ago

@brisbaneroboticsclub, sometimes I have fixed the issue by running sudo python3 instead of just python3.

Alternatively, perhaps the neopixel lib wasn't installed 100% according to the guide? I've had this issue and resolved it by re-installing the lib.

Uberguide: https://learn.adafruit.com/adafruit-neopixel-uberguide/python-circuitpython

jnkumar1964 commented 2 years ago

cannot find the neopixel library mentioned on the link given