[MacPorts] #62661: py39-pyusb: "No backend available" error at runtime

MacPorts noreply at macports.org
Sun May 16 16:09:28 UTC 2021


#62661: py39-pyusb: "No backend available" error at runtime
------------------------------+------------------------
  Reporter:  programmingkidx  |      Owner:  reneeotten
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.4
Resolution:  fixed            |   Keywords:
      Port:  py-pyusb         |
------------------------------+------------------------

Comment (by reneeotten):

 I am not sure it works for me on macOS 10.15.7, so it's probably something
 macOS 11 specific I would think...

 if you look at the code is referenced in your traceback it shows that is't
 trying to get a backend for the three available options. The Portfile uses
 {{{libusb}}} version 1.0.24 and indeed for me that works

 {{{
 >>> import usb.backend.libusb1 as libusb1
 >>> libusb1.get_backend()
 <usb.backend.libusb1._LibUSB object at 0x10b61b4c0>
 }}}

 it that doesn't give anything for you, that's the problem. How to solve
 that I don't know... it might be that {{{libusb}}} is not working
 correctly on macOS 11. That's something you would have to figure out
 and/or report upstream; I don't think it's a MacPorts problem, at least
 not in the {{{py-pyusb}}} port.

-- 
Ticket URL: <https://trac.macports.org/ticket/62661#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list