{"action":"created","issue":{"url":"https://api.github.com/repos/vpelletier/python-libusb1/issues/7","labels_url":"https://api.github.com/repos/vpelletier/python-libusb1/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/vpelletier/python-libusb1/issues/7/comments","events_url":"https://api.github.com/repos/vpelletier/python-libusb1/issues/7/events","html_url":"https://github.com/vpelletier/python-libusb1/issues/7","id":74410842,"number":7,"title":"How to install libusb-1.0 dll for libusb1 on win64","user":{"login":"RiceeeChang","id":7368881,"avatar_url":"https://avatars.githubusercontent.com/u/7368881?v=3","gravatar_id":"","url":"https://api.github.com/users/RiceeeChang","html_url":"https://github.com/RiceeeChang","followers_url":"https://api.github.com/users/RiceeeChang/followers","following_url":"https://api.github.com/users/RiceeeChang/following{/other_user}","gists_url":"https://api.github.com/users/RiceeeChang/gists{/gist_id}","starred_url":"https://api.github.com/users/RiceeeChang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiceeeChang/subscriptions","organizations_url":"https://api.github.com/users/RiceeeChang/orgs","repos_url":"https://api.github.com/users/RiceeeChang/repos","events_url":"https://api.github.com/users/RiceeeChang/events{/privacy}","received_events_url":"https://api.github.com/users/RiceeeChang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-08T16:03:43Z","updated_at":"2015-05-08T21:12:43Z","closed_at":null,"body":"I have some problem when I test this package on win64.\r\n\r\n  File \"C:\\Python27\\lib\\site-packages\\libusb1.py\", line 195, in <module>\r\n    libusb = _loadLibrary()\r\n  File \"C:\\Python27\\lib\\site-packages\\libusb1.py\", line 166, in _loadLibrary\r\n    return dll_loader('libusb-1.0' + suffix, **loader_kw)\r\n  File \"C:\\Python27\\lib\\ctypes\\__init__.py\", line 365, in __init__\r\n    self._handle = _dlopen(self._name, mode)\r\nWindowsError: [Error 126] The specified module could not be found\r\n\r\nthen I download the binary for windows from http://libusb.info/\r\nbut I have no idea which file I should use and where I could put the dll file.\r\nCould anyone help me, please"},"comment":{"url":"https://api.github.com/repos/vpelletier/python-libusb1/issues/comments/100369984","html_url":"https://github.com/vpelletier/python-libusb1/issues/7#issuecomment-100369984","issue_url":"https://api.github.com/repos/vpelletier/python-libusb1/issues/7","id":100369984,"user":{"login":"vpelletier","id":191204,"avatar_url":"https://avatars.githubusercontent.com/u/191204?v=3","gravatar_id":"","url":"https://api.github.com/users/vpelletier","html_url":"https://github.com/vpelletier","followers_url":"https://api.github.com/users/vpelletier/followers","following_url":"https://api.github.com/users/vpelletier/following{/other_user}","gists_url":"https://api.github.com/users/vpelletier/gists{/gist_id}","starred_url":"https://api.github.com/users/vpelletier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpelletier/subscriptions","organizations_url":"https://api.github.com/users/vpelletier/orgs","repos_url":"https://api.github.com/users/vpelletier/repos","events_url":"https://api.github.com/users/vpelletier/events{/privacy}","received_events_url":"https://api.github.com/users/vpelletier/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T21:12:43Z","updated_at":"2015-05-08T21:12:43Z","body":"Hi.\r\n\r\nFirst, I do not have a 64bits windows at hand, so I'm just guessing and cannot actually check.\r\nIn the archive you have likely downloaded (libusb-1.0.19-rc1-win.7z), you need to extract `MS64\\dll\\libusb-1.0.dll` or `MS32\\dll\\libusb-1.0.dll`. Choosing between MS64 and MS32 directories likely depends on the python build you are using, whether it was built for 64bits or 32bits.\r\nContained README advises to either install the DLL in system32 (no idea if that name is applicable on 64bits windows) or in the runtime directory. The latter may both mean it should be put in the same directory as your script, or in the same directory as the python interpreter. I guess you should first try to put it in the same directory as your script first, as it seems cleaner."}}