You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got the following issue when working with Python 3.7 on Windows 10.
Traceback (most recent call last):
File "C:/Users/avijit.das/PycharmProjects/SampleTest/sample1.py", line 6, in
dev = MCP2210(vid, pid)
File "C:\Users\avijit.das\PycharmProjects\sample\venv\lib\site-packages\mcp2210\device.py", line 123, in init
self.cancel_transfer()
File "C:\Users\avijit.das\PycharmProjects\sample\venv\lib\site-packages\mcp2210\device.py", line 224, in cancel_transfer
self.sendCommand(commands.CancelTransferCommand())
File "C:\Users\avijit.das\PycharmProjects\sample\venv\lib\site-packages\mcp2210\device.py", line 134, in sendCommand
command_data = [ord(x) for x in buffer(command)]
NameError: name 'buffer' is not defined
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Got the following issue when working with Python 3.7 on Windows 10.
Traceback (most recent call last):
File "C:/Users/avijit.das/PycharmProjects/SampleTest/sample1.py", line 6, in
dev = MCP2210(vid, pid)
File "C:\Users\avijit.das\PycharmProjects\sample\venv\lib\site-packages\mcp2210\device.py", line 123, in init
self.cancel_transfer()
File "C:\Users\avijit.das\PycharmProjects\sample\venv\lib\site-packages\mcp2210\device.py", line 224, in cancel_transfer
self.sendCommand(commands.CancelTransferCommand())
File "C:\Users\avijit.das\PycharmProjects\sample\venv\lib\site-packages\mcp2210\device.py", line 134, in sendCommand
command_data = [ord(x) for x in buffer(command)]
NameError: name 'buffer' is not defined
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: