ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It could be caused by python2 / python3 confusion.

Have you made sure that your PYTHONPATH env variable has no python3 directories in it?

Have you checked that Visual Studio is configured for python2; see @"ranjit kathiriya" answer to q#385096 from a few days ago.

It could be caused by python2 / python3 confusion.

Have you made sure that your PYTHONPATH env variable has no python3 directories in it?

Have you checked that Visual Studio is configured for python2; see @"ranjit kathiriya" @Ranjit Kathiriya answer to q#385096 from a few days ago.

It could be caused by python2 / python3 confusion.

Have you made sure that your PYTHONPATH env variable has no python3 directories in it?

Have you checked that Visual Studio is configured for python2; see @Ranjit Kathiriya answer to q#385096 #q385096 from a few days ago.

It eventually becomes clear that you have compiled and installed some random version of opencv in ubuntu 18. This is a bad idea in ros. Each release of ros depends on a specific version of opencv. Installing a different version than expected will very likely cause future conflicts if you try to use any opencv-related binary packages from the ros repositories.

I have no suggestions for how you get catkin_make to see that self-compiled library.

Earlier answer:

It could be caused by python2 / python3 confusion.

Have you made sure that your PYTHONPATH env variable has no python3 directories in it?

Have you checked that Visual Studio is configured for python2; see @Ranjit Kathiriya answer to #q385096 from a few days ago.