【无标题】
作者:互联网
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')
标签:opt,dist,lib,cv2,无标题,kinetic,ros 来源: https://blog.csdn.net/Jolen_xie/article/details/121634091