Bomin Nie
2015-08-11 08:46:49 UTC
Hi,
I'm not sure if this is the correct place that I shoot my question, if it's
not, please redirect me to the right place or somewhere I can find the
answsers
So, I'm on a project to use python to access my usb devices and I'm on
Window 7. I downloaded the zip version from https://walac.github.io/pyusb/,
after which I ran "python setup.py install", and then I tried to "import
usb.core", but I failed, Well, I can see this directory
"c:\Python27\Lib\site-packages\usb\", and it has core.py in it. What I'm
doing now is copying the "usb" directory to my project working directory,
and "import usb.core" works.... How should I fix this?
Since I got the "import usb.core" working, I then try to find devices.
And, I got "NoBackendError". I then
- downloaded the windows binary from "http://libusb.info/"
- copy "MS64\dll\libusb-1.0.dll" to my
"c:\Windows\SysWOW64\libusb-1.0.dll". My win7 is 64 bit.
It still gives me the same error... What am I supposed to do more?
I'm not sure if this is the correct place that I shoot my question, if it's
not, please redirect me to the right place or somewhere I can find the
answsers
So, I'm on a project to use python to access my usb devices and I'm on
Window 7. I downloaded the zip version from https://walac.github.io/pyusb/,
after which I ran "python setup.py install", and then I tried to "import
usb.core", but I failed, Well, I can see this directory
"c:\Python27\Lib\site-packages\usb\", and it has core.py in it. What I'm
doing now is copying the "usb" directory to my project working directory,
and "import usb.core" works.... How should I fix this?
Since I got the "import usb.core" working, I then try to find devices.
And, I got "NoBackendError". I then
- downloaded the windows binary from "http://libusb.info/"
- copy "MS64\dll\libusb-1.0.dll" to my
"c:\Windows\SysWOW64\libusb-1.0.dll". My win7 is 64 bit.
It still gives me the same error... What am I supposed to do more?
--
Nie Bomin
Nie Bomin