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 [cid:image001.png@01CD4AFD.4EB49050] 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 So for some reason I'm guessing that PyUSB is not finding the installed libusb-win32 "filter". What should I do now? Have I missed a step? Have I not installed all the right pieces? The reason I picked libusb-win32, rather than http://www.libusb.org/wiki/libusb-1.0 is that I really don't want to have to build a Windows library from sources. There are NO instructions about how to do this and I don't want to just guess on my own. Is there somewhere to get a binary distribution of libusb-1.0 for Win7-64bit? Any help to get this working would be greatly appreciated! Thanks, Martin
<<inline: image001.png>>
------------------------------------------------------------------------------ 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