EsaDev

import nfc error with libusb dll

Jul 8th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. C:\Users\esama\Desktop\nfc>python cast_handler.py
  2. Traceback (most recent call last):
  3. File "cast_handler.py", line 16, in <module>
  4. import nfc_handler
  5. File "C:\Users\esama\Desktop\nfc\nfc_handler.py", line 4, in <module>
  6. import nfc
  7. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\nfc\__init__.py", line 22, in <module>
  8. from . import clf # noqa: F401
  9. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\nfc\clf\__init__.py", line 25, in <module>
  10. from . import device
  11. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\nfc\clf\device.py", line 32, in <module>
  12. from . import transport
  13. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\nfc\clf\transport.py", line 31, in <module>
  14. import usb1 as libusb
  15. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\usb1\__init__.py", line 61, in <module>
  16. from . import libusb1
  17. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\usb1\libusb1.py", line 192, in <module>
  18. libusb = _loadLibrary()
  19. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\site-packages\usb1\libusb1.py", line 166, in _loadLibrary
  20. return dll_loader('libusb-1.0' + suffix, **loader_kw)
  21. File "C:\Users\esama\AppData\Local\Programs\Python\Python38-32\lib\ctypes\__init__.py", line 373, in __init__
  22. self._handle = _dlopen(self._name, mode)
  23. FileNotFoundError: Could not find module 'libusb-1.0.dll'. Try using the full path with constructor syntax.
Advertisement
Add Comment
Please, Sign In to add comment