-
Notifications
You must be signed in to change notification settings - Fork 5
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
Adafruit_NeoPixel not defined #1
Comments
Hey @DomThePro02, it seems that I included instructions in requirements.txt that should have been in the Readme:
That should fix the issue. |
I had already installed the rpi_ws281x, with the included python wrapper, and I fixed and enabled spi and i2c beforehand. I have all of the adafruit libraries with circuitpython installed as well. |
@CalebKussmaul I originally figured that I didn't have the correct libraries, and im new to Python and Raspberry Pi, seems like an odd issue. Im running python 3 though. |
@DomThePro02 ah that would do it. This project uses Python 2 and isn't compatible with Python 3. |
I'll switch over the defaults and see what happens! |
When i run app.py it is giving me this error:
Traceback (most recent call last):
File "app.py", line 2, in
import stranger
File "/home/pi/Stranger-Things-Integrated/stranger.py", line 23, in
strip = Adafruit_NeoPixel(LED_COUNT, GPIO_PIN, LED_FREQ_HZ, LED_DMA, LED_INVERT, LED_BRIGHTNESS)
NameError: name 'Adafruit_NeoPixel' is not defined
I'm teaching myself how to use python through RasPi in a 3b+ and ive been solving problems but i cant get past this
The text was updated successfully, but these errors were encountered: