On Tue, Apr 6, 2010 at 9:29 PM, Wander Lairson <wander.lair...@gmail.com> wrote:
> Please, try again with rev 56, and define the env variable
> PYUSB_DEBUG_LEVEL=debug. Let's what it says to us...
>

mc...@acerpc ~
$ python
Python 2.5.2 (r252:60911, Dec  2 2008, 09:26:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import usb.core
>>> import usb.backend.libusb10
>>> b=usb.backend.libusb10.get_backend()
2010-04-06 21:48:55,471 DEBUG:usb.backend.libusb10:Error loading libusb 1.0 back
end
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb10.py", line 556, in
get_backend
    _lib = _load_library()
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb10.py", line 151, in
_load_library
    raise OSError('USB library could not be found')
OSError: USB library could not be found
>>> import usb.backend.libusb01
>>> a=usb.backend.libusb01.get_backend()
2010-04-06 21:49:22,423 DEBUG:usb.backend.libusb01:Error loading libusb 0.1 back
end
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb01.py", line 512, in
get_backend
    _lib = _load_library()
  File "/usr/lib/python2.5/site-packages/usb/backend/libusb01.py", line 171, in
_load_library
    raise OSError('USB library could not be found')
OSError: USB library could not be found
>>> exit()

mc...@acerpc ~
$ ls /usr/bin/cygusb*.dll
/usr/bin/cygusb-1.0.dll  /usr/bin/cygusb0-Copy.dll  /usr/bin/cygusb0.dll

mc...@acerpc ~
$ env | grep PYUSB
PYUSB_DEBUG_LEVEL=debug


-- 
Xiaofan http://mcuee.blogspot.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to