[ERROR] [1667310613.036370, 1416.343000]: bad callback: <function camera_right_callback at 0x7f477f549700> Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/home/user/vrx_ws/src/vrx/vrx_gazebo/nodes/cam_test.py", line 55, in camera_right_callback cv_image2 = bridge_object.imgmsg_to_cv2(data,"bgr8") File "/opt/ros/noetic/lib/python3/dist-packages/cv_bridge/core.py", line 163, in imgmsg_to_cv2 dtype, n_channels = self.encoding_to_dtype_with_channels(img_msg.encoding) File "/opt/ros/noetic/lib/python3/dist-packages/cv_bridge/core.py", line 99, in encoding_to_dtype_with_channels return self.cvtype2_to_dtype_with_channels(self.encoding_to_cvtype2(encoding)) File "/opt/ros/noetic/lib/python3/dist-packages/cv_bridge/core.py", line 91, in encoding_to_cvtype2 from cv_bridge.boost.cv_bridge_boost import getCvType ImportError: libopencv_core.so.4.2: cannot open shared object file no such file or directory
I am using Ubuntu 20.04 noetic!
Now, I tried importing the camera in the gazebo virtual environment that I made myself in the past with opencv, and I saw that ImportError: libopencv_core.so.4.2: was displayed.
At first, to use yolo github, I kept installing and deleting other versions of opencv.
Now, I checked libopencv_core in the admin folder, and there are files related to libopencv_core 4.4. Is there any way to open it with 4.4 instead of lipopencv_core 4.2…???