On Fri, Jun 15, 2012 at 8:50 PM, Taylor, Martin wrote:
>
> 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
>

I have been using pyusb (1.0.0a2) successfully on Windows 7 64-bit. I
downloaded libusb-win32-bin-1.2.6.0.zip and used the
bin\inf-wizard.exe to create .inf files matching my device. The
generated installer_x64.exe and installer_x86.exe did not work for me,
but plugging in the device, selecting "manually locate driver" and
browsing to the generated driver folder with the .inf file worked
fine.

Maybe you can try the same, unless you need to use the "filter" method.

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

I have also used libusb-1.0 on Win7-64bit. I found binary snapshots
through http://www.libusb.org/wiki/windows_backend . This page is now
difficult to find through the libusb.org web site, nowadays
libusbx.org is maybe a better place to look. I used zadig.exe to
select WinUSB for my device. libusb-1.0 then accesses the device
through WinUSB, and is not itself associated with the device.

I can not find back to which snapshot I was using, or why I preferred
using libusb-win32, but it I am pretty sure it worked with pyusb.

Tormod

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

Reply via email to