-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install libusb-1.0 dll for libusb1 on win64 #7
Comments
Hi. First, I do not have a 64bits windows at hand, so I'm just guessing and cannot actually check. |
Thank you for your response. I just put the dll file at the same directory with my script, then it work. |
This would be the pace for python modules. Here it is not python but the dynamic library loader which needs to find the library - so I would have tried to put the library next to python.exe. Then again, for distribution ease (if you intend to distribute the program you are working on) and for the sake of avoiding the risk of doing mistakes in system/other program folders, putting it next to your script is likely a better solution - so I'm glad it works there. Closing bug as resolved, thanks. |
thanks! the same error drove me crazy for half weekend :)!! |
put the "libusb-1.0.dll" in your script folder worked for me too . |
I have some problem when I test this package on win64.
File "C:\Python27\lib\site-packages\libusb1.py", line 195, in
libusb = loadLibrary()
File "C:\Python27\lib\site-packages\libusb1.py", line 166, in loadLibrary
return dll_loader('libusb-1.0' + suffix, **loader_kw)
File "C:\Python27\lib\ctypes__init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
then I download the binary for windows from http://libusb.info/
but I have no idea which file I should use and where I could put the dll file.
Could anyone help me, please
The text was updated successfully, but these errors were encountered: