libusb-package icon indicating copy to clipboard operation
libusb-package copied to clipboard

wheels for Windows

Open rgbpcb opened this issue 2 years ago • 4 comments

README.md says:

All releases include wheels for Linux, macOS, and Windows for multiple architectures.

Where exactly do I find these "wheels" for Windows, and how exactly do I use them to install libusb-package?

It would be nice if README.md made this clear.

As a side note, I ran pip install . in the libusb-package-1.0.26.0 directory, but then

import os
os.environ['PYUSB_DEBUG'] = 'debug'
import usb.core
usb.core.find()

from here yields

2022-09-03 00:00:00,241 ERROR:usb.libloader:'Libusb 1' could not be found
2022-09-03 00:00:00,241 ERROR:usb.backend.libusb1:Error loading libusb 1.0 backend
2022-09-03 00:00:00,242 ERROR:usb.libloader:'OpenUSB library' could not be found
2022-09-03 00:00:00,242 ERROR:usb.backend.openusb:Error loading OpenUSB backend
2022-09-03 00:00:00,244 ERROR:usb.libloader:'Libusb 0' could not be found
2022-09-03 00:00:00,244 ERROR:usb.backend.libusb0:Error loading libusb 0.1 backend
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python310\lib\site-packages\usb\core.py", line 1309, in find
    raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available

rgbpcb avatar Sep 03 '22 11:09 rgbpcb