I am using pyusb in my Python 2.7 environment getting the status of the
Zebra KR403 printer and having good success on a Windows 7 64 bit PC. Now I
am ready to test this on my target machine. I have created my executable
program with py2exe and tested the exe on my development PC and it works
fine but when I move it to my target PC I get a message "No Backend
Available" when it gets to the "dev = usb.core.find(idVendor=int(VID),
idProduct=int(PID))" part of my code. I convert the hex to an integer here
but when using the hex value I get the same issue on my target PC, even with
hex value, both hex and converting to integer work fine on the development
PC so I do not think the issue is here. 

 

Traceback (most recent call last):

  File "ZebraKR403PaperStatus1.0.py", line 98, in <module>

  File "usb\core.pyc", line 846, in find

ValueError: No backend available

 

I am not sure what is causing the issue. It seems as though there is a
missing dll or something that is required to make this work and it did not
make it to my target PC. Any suggestions or ideas what I may be missing
would be greatly appreciated.

 

 

Jay

 

 

 

 

 

------------------------------------------------------------------------------
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to