NotImplementedError: Operation not supported or unimplemented on this platform
See original GitHub issueHi.
I’m in an internship and I want to read the USB port to see the type of data transiting. Ideally, I want to be able to both send and receive USB packets. I’m trying to read on a port with the .read() method but I have this error popping up :
NotImplementedError: Operation not supported or unimplemented on this platform
I don’t understand what could be the problem. Everything is up to date, I use the latest version of Python and Spyder, on Windows 10.
The code is as follow :
import usb.core
import usb.util
# find our device
dev = usb.core.find(idVendor = 0x152D, idProduct = 0x0576)
# was it found?
if dev is None:
raise ValueError('Device not found')
else:
print(dev)
dev.read(0x81,100)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
PyUSB 1.0: NotImplementedError: Operation not supported or ...
I tried to connect and use a Microchip self-programmed card. Unfortunately, the driver provided by Microchip is not compliant with the libusb library...
Read more >Operation not supported or unimplemented on this platform #11
On Windows you can only work with USB devices for which you installed a special driver. This is a limitation of libusb on...
Read more >Operation not supported or unimplemented on this platform
On 2020-10-22, Mario St-Gelais <mario....@videotron.ca> wrote: > I am attempting to get data from USB or an Accurite Weather Sensor, ...
Read more >CircuitPython Libraries on any Computer with FT232H
NotImplementedError : Operation not supported or unimplemented on this platform. Go back to the setup steps and Zadig your board if on Windows ......
Read more >[Libusb-devel] LIBUSB_ERROR_NOT_SUPPORTED
when I use libusb_open() get error: "operation not supported or unimplemented on platform" I use libusb1.x. Please help me fix bug, thank in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You were right, the port used were indeed not the same depending of the type of devices connected. I couldn’t find any COM port because I used a hard drive. With another peripheral I finally got an open COM port.
Thank you very much for your help.
I still think the most likely cause is that the installed driver isn’t compatible with libusb.