CC2531 icon indicating copy to clipboard operation
CC2531 copied to clipboard

ERROR: cannot import python libusb1 wrapper

Open gsheelr opened this issue 2 years ago • 2 comments

Hi, Kind regards. Getting this error when trying to run sniffer on raspberry pi. pi@raspberrypi:~/CC2531-master/CC2531-master/CC2531 $ python ./sniffer.py --help ERROR: cannot import python libusb1 wrapper.

gsheelr avatar Oct 04 '22 10:10 gsheelr

Did you install the required libs : https://github.com/mitshell/CC2531#usage ?

mitshell avatar Oct 05 '22 11:10 mitshell

Thank you for your response. Here is the installed usb packages. I am trying out with few things as part of learning zigbee. Raspberry pi as zigbee end device or concentrator.

pi@raspberrypi:~ $ apt list --installed | grep usb

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libusb-0.1-4/stable,now 2:0.1.12-25 armhf [installed] libusb-1.0-0/stable,now 2:1.0.19-1 armhf [installed,automatic] libusbmuxd2/stable,now 1.0.9-1 armhf [installed,automatic] usb-modeswitch/stable,now 2.2.0+repack0-2 armhf [installed] usb-modeswitch-data/stable,now 20150115-1 all [installed,automatic] usbutils/stable,now 1:007-2 armhf [installed]

gsheelr avatar Oct 10 '22 07:10 gsheelr