ticlib icon indicating copy to clipboard operation
ticlib copied to clipboard

no backend avaliable

Open ginghus-khan2000 opened this issue 3 years ago • 3 comments

Hi, I appreciate the effort of creating the library. I have a problem (of course, sorry). I've installed -Python 3.9.x -Pip3 -ticlib -usbpy

I try running your example code and get this error.

Traceback (most recent call last): File "/Users/admin/Documents/Python Programming/tic test 2.py", line 1, in from src.ticlib import TicUSB ModuleNotFoundError: No module named 'src'

so I took out the src. and got

Traceback (most recent call last): File "/Users/admin/Documents/Python Programming/tic test 2.py", line 4, in tic = TicUSB() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ticlib/ticlib.py", line 634, in init self.usb = usb_core.find(**params) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/usb/core.py", line 1309, in find raise NoBackendError('No backend available') usb.core.NoBackendError: No backend available

I'm pretty much a noob to Python programming but trying. Can you suggest a solution? What am I doing wrong?

Khan

ginghus-khan2000 avatar Nov 11 '21 17:11 ginghus-khan2000