From: vvyogi . <vv...@gm...> - 2013-10-02 17:10:56
|
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? On Wed, Oct 2, 2013 at 9:44 PM, Wander Lairson Costa < wan...@gm...> wrote: > 2013/10/2 vvyogi . <vv...@gm...>: > >> Everything seems fine, could you try with libusb-win32 backend? If you > >> uninstall libusb 1.0 and install libusbw-win32 you can get that > > > > > > How do I do that ? > > Whats the procedure to switch the pyUSB backend. > > > > Do you have libusb-win32 installed? If so, just do that: > > import usb.backend.libusb0 > > b = usb.backend.libusb0.get_backend() > usb.core.find(backend=b, ...) > > -- > 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 > pyu...@li... > https://lists.sourceforge.net/lists/listinfo/pyusb-users > |