Error reporting for problem:
File “file location”, line 40
Except CvBridgeError,e:
SyntaxError:invalid syntax
Solution:
This is the result of a python version mismatch.
-
- 1. Find the code file according to the file location after File, and find the problematic line of code according to line
-
- 2. Change the code line to except CvBridgeError as e:
-
- 3. Save and exit