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
Line 231 of pyfirmata2.py calls inspect.getargspec, which was apparently deprecated since at least 2018: pytorch/pytorch#15344
It now doesn't run in python 3.11:
File "/home/mikey/tmp/pyduino/lib/python3.11/site-packages/pyfirmata2/pyfirmata2.py", line 231, in add_cmd_handler
len_args = len(inspect.getargspec(func)[0])
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
Changing the line to getfullargspec() seems to solve it.
The text was updated successfully, but these errors were encountered:
Line 231 of pyfirmata2.py calls inspect.getargspec, which was apparently deprecated since at least 2018: pytorch/pytorch#15344
It now doesn't run in python 3.11:
Changing the line to getfullargspec() seems to solve it.
The text was updated successfully, but these errors were encountered: