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

sudo make install issue #39

Open
kobra666 opened this issue May 27, 2024 · 1 comment
Open

sudo make install issue #39

kobra666 opened this issue May 27, 2024 · 1 comment

Comments

@kobra666
Copy link

sudo make install
./prog/usb-flasher/usb-flash.py bin/dongle.bin
Traceback (most recent call last):
File "./prog/usb-flasher/usb-flash.py", line 20, in
import usb, time, sys, array, logging
ImportError: No module named usb
make: *** [Makefile:27: install] Error 1

I tried pip install pyusb..but still the same.. please help me how to fix this guys

@kobra666
Copy link
Author

I finally found a solution. purge the whole python2.7 and everything. and reinstall it. and I changed shebangs in scripts to python2.7 and its working now!.

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

1 participant