Ask Your Question
1

ModuleNotFoundError: No module named 'cv_bridge' IN windows10 running foxy

asked 2021-11-21 07:48:14 -0500

aniketwagh gravatar image

updated 2021-12-09 07:56:48 -0500

Mike Scheutzow gravatar image

I was following this tutorial https://automaticaddison.com/getting-... to implement a simple ros2 image publisher and subscriber. everything was built but then when I launched the node it gave the error (cv_bridge not found).

I am on Windows10 running Ros2 (Foxy).

please help me solve this

PROGRESS.... after that, i found a cv_bridge git repo https://github.com/ros-perception/vis... so i cloned it and colcon build it but then it is giving me the following error

Starting >>> cv_bridge

--- stderr: cv_bridge

CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

Could NOT find Boost (missing: Boost_INCLUDE_DIR python3)

Call Stack (most recent call first):

C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

C:/Program Files/CMake/share/cmake-3.21/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)

CMakeLists.txt:32 (find_package)

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-12-09 07:11:22 -0500

osilva gravatar image

There is no need to install cv_bridge from source if you are using ROS on Windows.

Check rospack find cv_bridge if has been properly installed.

Please refer to this thread for more info: https://github.com/ms-iot/ROSOnWindow...

edit flag offensive delete link more

Comments

Thank you !

aniketwagh gravatar image aniketwagh  ( 2021-12-16 20:32:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-11-21 07:48:14 -0500

Seen: 119 times

Last updated: Dec 09 '21