ImportError: No module named 'bibliopixel.drivers.serial_driver'

Hey there,
I installed Bibliopixel wiht pip3 and when I’m running python3 i can’t import bibliopixel.drivers.serial_driver as there is no module named like this.

So whats going on here? How can I run a simple program for my LED Strip with python 3?

this is the code that I copied by GitHub/Bibliopixel

Thx

#Load driver for your hardware, visualizer just for example
from bibliopixel.drivers.serial_driver import *

#set your LED type here
driver = Serial(num = 10, type = LEDTYPE.LPD8806)

#load the LEDStrip class
from bibliopixel.led import *
led = Strip(driver)

#load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    anim.run()

except KeyboardInterrupt:
    led.all_off()
    led.update()

Do you have an link to where you found that example. Needs to be updated.
It’s just serial not serial_driver

···

On Wed, Jul 25, 2018, 8:31 AM Thomas Di Blasi diblasi.thomas25@gmail.com wrote:

Hey there,
I installed Bibliopixel wiht pip3 and when I’m running python3 i can’t import bibliopixel.drivers.serial_driver as there is no module named like this.

So whats going on here? How can I run a simple program for my LED Strip with python 3?

this is the code that I copied by GitHub/Bibliopixel

Thx

#Load driver for your hardware, visualizer just for example
from bibliopixel.drivers.serial_driver import *

#set your LED type here
driver = Serial(num = 10, type = LEDTYPE.LPD8806)

#load the LEDStrip class
from bibliopixel.led import *
led = Strip(driver)

#load channel test animation
from bibliopixel.animation import StripChannelTest
anim = StripChannelTest(led)

try:
    anim.run()

except KeyboardInterrupt:
    led.all_off()
    led.update()

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/06a107e8-d96b-4260-9087-4b10006a1aa9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.