2011/11/15 safoura <s.seddig...@gmail.com>:
> Hi Wander,
>
> I have been running my software on different computers (not an OS issue since 
> I
> have working and non- working software on different OSs)
> The software which is the java code calling an executable python code (which
> uses the usb) on some of the systems runs fine.
> On some others I get this message:
>
>
> 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 have libusb-win32 installed on every computer.
> Why is it that libusb1.0 is required even though that libusb0 exists.
> Wasn't it said that at least one of these needs to be installed?
> Please help since I can not figure out what other possibility I can think of 
> to
> resolve this issue.
>

PyUSB by default search for libraries in the following order: libusb
1.0, openusb and libusb 0.1. Because of that you see errors appearing
in the log regarding libusb 1.0

-- 
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

Reply via email to