英俊幽默又有才 2021-03-02 15:42 采纳率: 0%
浏览 364

关于用pyusb 实现USB 通信问题

pyusb 版本 1.1.1,python版本3.6

import usb.util


dev =  usb.core.find(idVendor= 0x****, idProduct= 0x****)
if dev is None:
    raise ValueError('Device not found')
print(dev)
dev.set_configuration()

报错  NotImplementedError: Operation not supported or unimplemented on this platform

我已经尝试用Zadig ,安装了WINUSB驱动,但是依然报错。不知道还有没有其他解决方案。

感谢

  • 写回答

2条回答 默认 最新

  • weixin_43917989 2022-02-11 13:32
    关注

    兄弟,解决了么?我也遇到这个问题

    评论

报告相同问题?