hidapi icon indicating copy to clipboard operation
hidapi copied to clipboard

hidapi installation under windows / Python virtual environment

Open Snolte1001 opened this issue 1 year ago • 1 comments

hello,

I would like to use hidapi in a virtual Python environment under Windows 10, but the installation is not clear to me. I get the following error message

`import hid

vid = 0x16C0 # Change it for your device pid = 0x0486 # Change it for your device

with hid.Device(vid, pid) as h: print(f'Device manufacturer: {h.manufacturer}') print(f'Product: {h.product}') print(f'Serial Number: {h.serial}')`

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

Snolte1001 avatar Oct 19 '24 18:10 Snolte1001

See #267

Youw avatar Oct 19 '24 19:10 Youw