Q: ubuntu使用python调用opencv报错ImportError: /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so: undefined symbol: PyCObject_Type A:主要是掉用来ros总python2中的cv2,因此在代码前如下代码: import sys sys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages')