Mac cv2.VideoCapture报错(Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

pycharm使用mac pro调用摄像头时遇到该问题,即使代码只有一行:

Mac cv2.VideoCapture报错(Process finished with exit code 134 (interrupted by signal 6: SIGABRT)_第1张图片

仍旧会报错

原因pycharm的内在问题

Mac cv2.VideoCapture报错(Process finished with exit code 134 (interrupted by signal 6: SIGABRT)_第2张图片

解决:

利用终端调用python解决,注意:pycharm的terminal、consolo同样会报错!

你可能感兴趣的:(#,OpenCVPython,Mac,pycharm,opencv,摄像头,终端)