I am using python 2.2 and want to make use of the library PyUsb. I tried a lot but couldn't get it right. Can anyone please help how to do that.

10 Years
Discussion Span
Last Post by pravdexter

What files have you downloaded, and where are they installed?

Hi thanks for the reply
I did the following procedure

1) Downloaded "libusb-win32-device-bin-"
2) Got the following DLL's from its "Bin" directory
- libusb0.dll
- libusb0.sys
- libusb0_x64.dll
- libusb0_x64.sys

3) Put these DLL's inside the folder -> C:\Python22\DLLs
( Python22 is my Python installed folder )

4) I searched for the USB file for python2.2 but didnt get it. So tried using the USB file of python2.3 ( http://web.media.mit.edu/~dmerrill/sensor_network_applications/usb.pyd_2.3 )

5) Put inside the folder -> C:\Python22\Lib\site-packages

6) Now from my python prompt, if I do "import usb" -> It gives an error - The ordinal 77 could not be located in the DLL libusb0.dll

Thereafter could not debug this problem. Please help if possible

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.