2014年10月14日 星期二

Install PyUSB on windows 7

1. Download "libusb" 
    ALL ARCHITECTURES:
  x86\libusb0_x86.dll: x86 32-bit library. Must be renamed to libusb0.dll
    On 64 bit, Installs to Windows\syswow64\libusb0.dll.
    On 32 bit, Installs to Windows\system32\libusb0.dll.

  x86\inf-wizard.exe: inf-wizard application with embedded libusb-win32
    v1.2.6.0 binaries.

X86 ONLY ARCHITECTURES:
  x86\libusb0.sys: x86 32-bit driver.
    Installs to Windows\system32\drivers\libusb0.sys

2. Download PyUSB and unzip.
    If you unzip location is "c:\PyUSB" and python path already set properly. Then the install command should be:
    cd c:\PyUSB
    python setup.py install

   the most important thing is change your path to c:PyUSB. If you not enter current path, you will fail.
   # Note. May you need copy "usb" folder of pyusb to c:\Python2x\lib

沒有留言:

張貼留言