0

What is does this python open cv error mean ?

File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pyfirmata\pyfirmata.py", line 185, in add_cmd_handler len_args = len(inspect.getargspec(func)[0]) ^^^^^^^^^^^^^^^^^^ ttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'? I dont even have 185 lines of code

1st Mar 2024, 3:51 PM
Noobmaster
Noobmaster - avatar
2 odpowiedzi
+ 3
You are using code that was written for an earlier version of Python, but it is deprecated (removed) in Python 3.11 https://github.com/pytorch/pytorch/issues/15344
1st Mar 2024, 6:46 PM
Tibor Santa
Tibor Santa - avatar
+ 1
You are using a module that has an error in it's code so, it won't work.
1st Mar 2024, 5:02 PM
Coder0008