2011/11/16 Safoura <s.seddig...@gmail.com>: > Hi Wander, > > I have been posting a few messages for the past few days since the > software I thought was ready to use and was actually delivered doesn't > work on the new computers!:(( > > As I had in the previous message , the backend is not available: > > > > > 2011-11-15 18:14:49,707 ERROR:usb.backend.libusb10:Error loading > libusb 1.0 backend > Traceback (most recent call last): > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb10", line > 600, in get_backend > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb10", > line > 160, in _load_library > OSError: USB library could not be found > 2011-11-15 18:14:49,707 ERROR:usb.backend.openusb: > Error loading OpenUSB > backend > Traceback (most recent call last): > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.openusb", > line > 598, in get_backend > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.openusb", > line > 148, in _load_library > OSError: USB library could not be found > 2011-11-15 18:14:49,709 ERROR:usb.backend.libusb01: > Error loading libusb 0.1 backend > Traceback (most recent call last): > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb01", > line > 558, in get_backend > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb01", > line > 180, in _load_library > OSError: USB library could not be found > 2011-11-15 18:23:59,219 ERROR:usb.backend.libusb10: > Error loading libusb 1.0 backend > Traceback (most recent call last): > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb10", > line > 600, in get_backend > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb10", > line > 160, in _load_library > OSError: USB library could not be found > 2011-11-15 18:23:59,220 ERROR:usb.backend.openusb: > Error loading OpenUSB > backend > Traceback (most recent call last): > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.openusb", > line > 598, in get_backend > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.openusb", > line > 148, in _load_library > OSError: USB library could not be found > 2011-11-15 18:23:59,220 ERROR:usb.backend.libusb01: > Error loading libusb 0.1 backend > Traceback (most recent call last): > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb01", > line > 558, in get_backend > File "Manager\build\pyi.win32\Manager\outPYZ1.pyz/ > usb.backend.libusb01", > line > 180, in _load_library > OSError: USB library could not be found > > > > I don't have pyusb or python installed on the customer's mashines but > have installed libusb-win32. > If I run my exe python code by double clicking on it, it runs fine > (usb opened and read) > If my java code runs it, this error would show and the software fails! > What could be the problem? > Please help if you can. > > Thank you >
What folder is the libusb-win32 dll in? If it is folder that needs the PATH environment variable set, this maybe cause to some environment setup when calling the python script. -- Best Regards, Wander Lairson Costa https://github.com/walac https://gitorious.org/~walac ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users