From: Wander L. C. <wan...@gm...> - 2013-10-03 18:30:03
|
2013/10/3 vvyogi . <vv...@gm...>: >> Try to put it in C:\Python27 > > That made no difference. > > Out of curiosity, I removed the dll from System32 directory and yet pyUsb > didn't complained anything. This inspires me to ask "Where exactly is > pyUsb's backend? Which dll is it using?" > > And Finally, I wiped out the python distribution completely and tried with a > fresh install. I installed only pyUSB( master branch from github ) Log seems > to be changed: > >> 2013-10-03 23:44:23,200 DEBUG:usb.backend.libusb1:_LibUSB.__init__(<WinDLL >> 'C:\openocd-0.7.0\bin\libusb-1.0.dll', handle 6b600000 at 1804490>) libusb 1.0 is loading from here 'C:\openocd-0.7.0\bin\libusb-1.0.dll'. To use libusb-win32, you either have to remove this file or force the backend. > > The error code is same "[Errno 2] Entity not found" however, pyUsb seems to > be using the libusb1 backend now. > > I don't really understand whats going on here. Is there anyway I can make it > work? > I am trying to isolate the problem. I suspect your C# code worked because in C# you were using libusb-win32, and that's because I asked you to give libusb-win32 a try. -- Best Regards, Wander Lairson Costa |