SivyerLab / pyCrafter4500

Python USB controller for the TI LCR4500EVM
https://pycrafter4500.readthedocs.io/en/latest/
GNU General Public License v3.0
16 stars 16 forks source link

"No backend available" error, *I'm a python beginner* #11

Closed niallodowd closed 3 years ago

niallodowd commented 3 years ago

Hi There,

I'm having issues simply getting initial commands through to my DLP350 LC4500. I was able to pip install pycrafter4500, and import it successfully, but when I call pycrafter4500.power_up() I get the error:

Traceback (most recent call last):

File "", line 1, in pycrafter4500.power_up()

File "C:\ProgramData\Anaconda3\lib\site-packages\pycrafter4500\pycrafter4500.py", line 574, in power_up with connect_usb() as lcr:

File "C:\ProgramData\Anaconda3\lib\contextlib.py", line 112, in enter return next(self.gen)

File "C:\ProgramData\Anaconda3\lib\site-packages\pycrafter4500\pycrafter4500.py", line 87, in connect_usb device = usb.core.find(idVendor=0x0451, idProduct=0x6401)

File "C:\ProgramData\Anaconda3\lib\site-packages\usb\core.py", line 1299, in find raise NoBackendError('No backend available')

NoBackendError: No backend available

I'm convinced that this issue may be trivial for this community, so please help me! Thanks so much!

niallodowd commented 3 years ago

Fixed the issue by following https://stackoverflow.com/questions/33972145/pyusb-on-windows-8-1-no-backend-available-how-to-install-libusb

!!