I did installed the pyUsb via the usual python package installation method i.e.

>python setup.py install

As for the libusb, I didn't install any binary or any python setup for it.

For the device(a vUsb device) I had to install the driver using the 
inf-wizard.exe available with libusb-win32 distribution.

Thats all I did for the python end.

For C# application I had to use reference to libUsbDotNet.dll

Thanks and regards
Vivek

On 03-Oct-2013, at 12:40 AM, Wander Lairson Costa <wander.lair...@gmail.com> 
wrote:

> 2013/10/2 vvyogi . <vvy...@gmail.com>:
>> It throws ImportError
>>> 
>>> ImportError: No module named libusb0
>> 
>> Does that means I don't have libusb-win32 installed on my PC.
>> 
>> The package that I downloaded from sourceForge has follow Directory
>> Structure:
>> 
>> libusb-win32-bin-1.2.6.0
>>    |
>>    |---> bin
>>    |       |
>>    |       |-->amd64(dir)
>>    |       |
>>    |       |-->ia64(dir)
>>    |       |
>>    |       |--> x86(dir)
>>    |       |        |
>>    |       |        |--> install-filter
>>    |       |        |
>>    |       |        |--> install-filter-win     <------ This one does not
>> lists the vid/pid of my device
>>    |       |        |
>>    |       |        |--> testlibusb.exe
>>    |       |        |
>>    |       |        |--> testlibusb-win.exe
>>    |       |
>>    |       |--> inf-wizard.exe              <------ This one creates a
>> inf/driver for my device and after installing the driver my c# app works.
>>    |
>>    |
>>    | -->examples(dir)
>>    |
>>    |
>>    |---> includes(dir)
>>    |
>>    |
>>    |--->lib(dir)
>>            |
>>            |-->bcc
>>            |
>>            |-->dynamic
>>            |
>>            |-->gcc
>>            |
>>            |-->msvc
>>            |
>>            |-->msvc_i64
>>            |
>>            |-->msvc_x64
>> 
>> Tell me, what am I missing?
>> 
> 
> How did you install it?
> 
> -- 
> Best Regards,
> Wander Lairson Costa
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to