So I followed this guide to install opencv on Ubuntu 16.04 LTS https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/.

When I try running a python script that imports cv2 I get this issue: ImportError: /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so: undefined symbol: PyCObject_Type

I am aware of all the other posts that have the same error but most of the solutions result with ROS and opencv not being compatible together anymore or something like that. I need to use computer vision with ROS.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.