libusb / hidapi

A Simple cross-platform library for communicating with HID devices
https://libusb.info/hidapi/
Other
1.68k stars 398 forks source link

ImportError of usblib libraries #655

Closed rolsman1974 closed 10 months ago

rolsman1974 commented 10 months ago

Hi, On my Mac it is very difficult to get the hid / hidapi to work, either you get errors the usblib1 backends does not support enumeration or you get ImportErrors with regards to the usblib's

I also can find a good manual how to install these packages and to set things up correctly. Is there a specific reason why running 'just' pip install hid , get your system ready to go?

My searches on internet didn't resolve my issue getting things to work, it did tell me lots of people facing this issue.

My request please

Kind regards

Dump of the ImportError ImportError: Unable to load any of the following libraries:libhidapi-hidraw.so libhidapi-hidraw.so.0 libhidapi-libusb.so libhidapi-libusb.so.0 libhidapi-iohidmanager.so libhidapi-iohidmanager.so.0 libhidapi.dylib hidapi.dll libhidapi-0.dll

JoergAtGithub commented 10 months ago

In this project we develop the C library hidapi - it seems you have problems with a Python wrapper, which comes from a third-party.

JoergAtGithub commented 10 months ago

It might be this Python wrapper, that you use: https://github.com/trezor/cython-hidapi

mcuee commented 10 months ago

Please raise the issue to respective project. hidapi project does not handle the Python wrapper.