2012/6/15 Taylor, Martin <cmtay...@ti.com> > > I just discovered PyUSB today and have been trying to get it installed and > working on Win7-64bit. > > I did the PyUSB download from here: > http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/ > > Unziped the file and ran: > > - python setup.py install > > I then went here: http://sourceforge.net/apps/trac/libusb-win32/wiki > > and followed the somewhat vague instructions to download libusb-win32. > Guessing from these vague instructions, I found > > libusb-win32-bin-1.2.6.0\bin\amd64\install-filter-win.exe > > in the downloaded tree of files and ran it. I selected my USB device I > want to talk to with PyUSB from the list it presented and installed this > filter. It reported > > > > I then rebooted my PC, as recommended. > > > > Then, following the steps in this tutorial: > http://pyusb.sourceforge.net/docs/1.0/tutorial.html > > I opened an interactive Python window and did the following: > > > > PythonWin 2.6.4 (r264:75706, Jan 22 2010, 16:41:54) [MSC v.1500 32 bit > (Intel)] on win32. > > Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for > further copyright information. > > >>> import usb.core > > >>> dev = usb.core.find() > > Traceback (most recent call last): > > File "<interactive input>", line 1, in <module> > > File "C:\Python26\lib\site-packages\usb\core.py", line 846, in find > > raise ValueError('No backend available') > > ValueError: No backend available > >
On the terminal, before running Python, define the environment variable PYUSB_DEBUG_LEVEL as follows: set PYUSB_DEBUG_LEVEL=debug Then run the test again and report the ouput, please. > > So for some reason I’m guessing that PyUSB is not finding the installed > libusb-win32 “filter”. > > A better way would be replace the device driver by the libusb-win32 driver. [snip] -- Best Regards, Wander Lairson Costa ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users