rpi-ws281x / rpi-ws281x-python

Python library wrapping for the rpi-ws281x library
BSD 2-Clause "Simplified" License
324 stars 103 forks source link

ImportError: No module named neopixel #10

Open Gadgetoid opened 6 years ago

Gadgetoid commented 6 years ago
>>> import neopixel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named neopixel

The "neopixel" module was a compatibility shim, with no functionality of its own and has been dropped from this library as of Version 4.0.0. Use import rpi_ws281x for exactly the same functionality and API.

zc1342303 commented 1 year ago
>>> import neopixel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named neopixel

The "neopixel" module was a compatibility shim, with no functionality of its own and has been dropped from this library as of Version 4.0.0. Use import rpi_ws281x for exactly the same functionality and API.

Thanks a lot, it works for me.