Skip to content
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

Getting this to work on Windows 10 #7

Open
ldorad0 opened this issue Feb 1, 2022 · 2 comments
Open

Getting this to work on Windows 10 #7

ldorad0 opened this issue Feb 1, 2022 · 2 comments

Comments

@ldorad0
Copy link

ldorad0 commented Feb 1, 2022

My notes on getting this to work on Windows 10

  • My setup

    Windows 10 x64
    Python 3.7
    My terminal environment: git-bash

  • Steps

    • Make sure you install the libusb python package
      pip install libusb
    • Download libusb-1.0.20
    • Navigate to the directory where you extracted the archive
    • Copy the 32-bit libusb-1.0.dll to the 32-bit libusb Windows Platform folder, e.g.
      cp MS32\dll\libusb-1.0.dll $(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/libusb/_platform/_windows/x86
    • Copy the 64-bit libusb-1.0.dll to the 64-bit libusb Windows Platform folder, e.g.
      cp MS64\dll\libusb-1.0.dll $(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/libusb/_platform/_windows/x64

[EDIT] - This is not so much an issue as an attempt to make it easier for others to use this fantastic script

@lunixoid
Copy link
Owner

lunixoid commented Feb 2, 2022

@ldorad0 Thank you!
You can make a pull request into README.md.

@Thechest655
Copy link

I just discovered this method right now and it is the best solution I have found only in Windows from what I see, so good luck and I hope it works for you to save hours of searching.
https://www.youtube.com/watch?v=lhz2zjjlskU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants