On Wed, Jun 19, 2024 at 10:47 PM Michael Cannizzaro via pyusb-users
<pyusb-users@lists.sourceforge.net> wrote:
>
> Hello,
>
> I’m on a Mac and I’ve been trying to get my libusb1 backend installed and 
> recognized by PyUSB, to no avail.
>
> I’ve tried installing libusb via both the Homebrew method and the pip install 
> method. Both worked successfully, but I still get “No backend available” when 
> debugging with usb.core.find().
>
> Here’s the output of the script from the FAQ:
>
> 2024-06-19 21:38:46,878 ERROR:usb.libloader:'Libusb 1' could not be found
>
> 2024-06-19 21:38:46,878 ERROR:usb.backend.libusb1:Error loading libusb 1.0 
> backend
>
> 2024-06-19 21:38:46,879 ERROR:usb.libloader:'OpenUSB library' could not be 
> found
>
> 2024-06-19 21:38:46,879 ERROR:usb.backend.openusb:Error loading OpenUSB 
> backend
>
> 2024-06-19 21:38:46,879 ERROR:usb.libloader:'Libusb 0' could not be found
>
> 2024-06-19 21:38:46,879 ERROR:usb.backend.libusb0:Error loading libusb 0.1 
> backend
>
> Traceback (most recent call last):
>
>   File "<stdin>", line 1, in <module>
>
>   File "/Users/mike/anaconda3/lib/python3.11/site-packages/usb/core.py", line 
> 1309, in find
>
>     raise NoBackendError('No backend available')
>
> usb.core.NoBackendError: No backend available
>
>
> I’m running Python 3.11.5 and PyUSB 1.2.1. Please let me know if you need any 
> additional information!

Hi Mike,

You can give <https://github.com/pyusb/pyusb/pull/511> a try.

-- 
Jonas


_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to