Pyusb on windows - no backend available

后端 未结 9 1130
情话喂你
情话喂你 2020-11-29 04:55

I\'m trying to have my python application interface with an NFC device via USB. The best option seems to be pyusb, but I can\'t get it to connect to the libusb backend. I ke

9条回答
  •  春和景丽
    2020-11-29 05:09

    I had the same problem with Windows 10, both Python 2.7.16 and Python 3.7.2. I installed libusb (through python -m pip install libusb ) but the error message remained. Also, the advice above about installing libusb-win32 did not work for me; neither of the 2 links (original post and @beebek's answer) existed.

    What did work, however, is the comment by @user1495323 : I copied libusb-1.0.dll from C:\Users\username\AppData\Roaming\Python\Python27\site-packages\libusb\_platform\_windows\x64\ to C:\Windows\System32\

提交回复
热议问题