Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no backend avaliable #4

Open
ginghus-khan2000 opened this issue Nov 11, 2021 · 3 comments
Open

no backend avaliable #4

ginghus-khan2000 opened this issue Nov 11, 2021 · 3 comments

Comments

@ginghus-khan2000
Copy link

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
Copy link
Author

I got it working. Had to install HomeBrew and libusb. Works a treat. I just hate to think what I've done to my machine to install libusb (openUSB?). Thanks for the library. :)
Khan

@Em607867
Copy link

I got it working. Had to install HomeBrew and libusb. Works a treat. I just hate to think what I've done to my machine to install libusb (openUSB?). Thanks for the library. :) Khan

Hi,
Did you end up using SRC still or removing SRC?

Also when you connect a device, are you able to disconnect? I can't seem to find the function to do that.

@ginghus-khan2000
Copy link
Author

ginghus-khan2000 commented Jan 22, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants