Skip to content

no backend avaliable  #4

@ginghus-khan2000

Description

@ginghus-khan2000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions