fixed the line 10 error as in #80 but resulting exe does not work yet
splaisan opened this issue · 2 comments
splaisan commented
It used to run under previsou OSX but not now under high sierra
Any idea what I am missing?
A dependency I guess!!
temper-poll -p
Traceback (most recent call last):
File "/opt/miniconda2/bin/temper-poll", line 11, in <module>
load_entry_point('temperusb==1.5.3', 'console_scripts', 'temper-poll')()
File "/opt/biotools/temper-python/temperusb/cli.py", line 38, in main
th = TemperHandler()
File "/opt/biotools/temper-python/temperusb/temper.py", line 420, in __init__
usb.core.find(find_all=True, idVendor=vid, idProduct=pid)]
File "build/bdist.macosx-10.6-x86_64/egg/usb/core.py", line 1263, in find
usb.core.NoBackendError: No backend available
splaisan commented
same issue after installing python3 and reinstalling temper under it (line10 edited back to repo code)
temper-poll -p
Traceback (most recent call last):
File "/opt/miniconda2/envs/python3/bin/temper-poll", line 11, in <module>
load_entry_point('temperusb==1.5.3', 'console_scripts', 'temper-poll')()
File "/opt/miniconda2/envs/python3/lib/python3.6/site-packages/temperusb/cli.py", line 38, in main
th = TemperHandler()
File "/opt/miniconda2/envs/python3/lib/python3.6/site-packages/temperusb/temper.py", line 420, in __init__
usb.core.find(find_all=True, idVendor=vid, idProduct=pid)]
File "/opt/miniconda2/envs/python3/lib/python3.6/site-packages/usb/core.py", line 1263, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
lsusb shows the device though
Bus 020 Device 010: ID 0c45:7401 Sonix Technology Co., Ltd. TEMPer1F_V1.3
TEMPer1F_V1.3:
Product ID: 0x7401
Vendor ID: 0x0c45 (Sonix Technology Co., Ltd.)
Version: 0.01
Speed: Up to 1.5 Mb/sec
Manufacturer: RDing
Location ID: 0x14211000 / 10
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0
PIP list
Package Version
certifi 2018.4.16
cffi 1.11.5
csvtomd 0.3.0
libusb 1.0.22b1
pip 10.0.1
pycparser 2.18
pyusb 1.0.2
setuptools 40.0.0
temperusb 1.5.3
wheel 0.31.1
padelt commented
Closing because of age. Not sure we can help much here. pyusb
is trying to find a backend (operating system level library) for USB and not finding any. Please reopen as needed.