So I'm trying to use pyusb in a conda environment but it fails with error below:
>>> import usb.core
>>> usb.core.find()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/foo/Developer/anaconda3/envs/delme/lib/python3.6/site-packages/usb/core.py", line 1263, in find
raise NoBackendError('No backend available')
I'm assuming this happens because it can't find libusb. I have tried installing libusb
and libusb1
inside the conda environment via pip
and also system-wide (libusb
and libusb-compat
) via brew
but none of these have helped.