-
Notifications
You must be signed in to change notification settings - Fork 2
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
Comments
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. :) |
Hi, Also when you connect a device, are you able to disconnect? I can't seem to find the function to do that. |
No, didn't use src.ticlib, just used "from ticlib Import TicUSB". I use IDLE, the Python interpreter built into to OS X. I haven't had any trouble with disconnecting a device. Just yank it out. Just check to see if connected using Pololu stepper controller software.
The one thing I did have to change (in the Pololu software) was to disable the "enable timeout".
Eric
…________________________________
From: Em607867 ***@***.***>
Sent: Friday, January 21, 2022 6:21 PM
To: jphalip/ticlib ***@***.***>
Cc: ginghus-khan2000 ***@***.***>; Author ***@***.***>
Subject: Re: [jphalip/ticlib] no backend avaliable (Issue #4)
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.
—
Reply to this email directly, view it on GitHub<#4 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWOFWLZ6DI6MAXZI5BZHTLTUXIBBPANCNFSM5H264PRQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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
The text was updated successfully, but these errors were encountered: