Python3 can't find_first()


#1

Running python 3.6 on linux I get this error, perhaps a missing module of some kind?

Python 3.6.3 (default, Oct 3 2017, 21:45:48)
[GCC 7.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

from blinkstick import blinkstick
led=blinkstick.find_first()
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.6/dist-packages/blinkstick/blinkstick.py”, line 1512, in find_first
return BlinkStick(device=d)
File “/usr/local/lib/python3.6/dist-packages/blinkstick/blinkstick.py”, line 209, in init
self.bs_serial = self.get_serial()
File “/usr/local/lib/python3.6/dist-packages/blinkstick/blinkstick.py”, line 272, in get_serial
return self._usb_get_string(self.device, 256, 3)
File “/usr/local/lib/python3.6/dist-packages/blinkstick/blinkstick.py”, line 213, in _usb_get_string
return usb.util.get_string(device, length, index)
File “/home/brooksch/.local/lib/python3.6/site-packages/usb/util.py”, line 318, in get_string
raise ValueError(“The device does not support the specified langid”)
ValueError: The device does not support the specified langid

Python3 is running as sudo.

lsusb shows the device exists: Bus 001 Device 011: ID 20a0:41e5 Clay Logic

Chris