Hey there,
I installed Bibliopixel wiht pip3 and when I’m running python3 i can’t import bibliopixel.led as there is no module named like this.
Importiing bibliopixel.animation however works fine.
So whats going on here? How can I run a simple program for my LED Strip with python 3?
#!/usr/bin/python3
Load driver for LPD8806 Strip
from bibliopixel.drivers.SPI.LPD8806 import *
set length of Strip and initialize
from bibliopixel.led import *
driver = LPD8806(12)
led = Strip(driver)
load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)
try:
# run the animation
anim.run()
except KeyboardInterrupt:
# Ctrl+C will exit the animation and turn the LEDs offs
led.all_off()
led.update()
``
As I said, all other imports work fine and I’ve tested them. What am I missing here or doing wrong? It’s only
from bibliopixel.led import *
``
which is not working…
Thanks for your help.