rene-aguirre / pywinusb

USB / HID windows helper library
BSD 3-Clause "New" or "Revised" License
207 stars 63 forks source link

WinError 2 #73

Open wangsheng521 opened 2 years ago

wangsheng521 commented 2 years ago

I had no problem using it on my own computer at first, but when I packed the program and put it on another laptop, he sometimes reported the following errors to me File"pywinusb\hid\core.py",line 189 ,in get_devices File"pywinusb\hid\core.py",line 148,in find_all_hid_devices File"pywinusb\hid\core.py",line 365,in init FileNotFoundError : [WinError 2] The system cannot find the specified file please tell me how to solve this problem

mcuee commented 2 years ago

How do you pack the program?