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

colcon not recognized in windows 10

asked 2021-05-17 02:20:03 -0500

tigrhwk gravatar image

updated 2021-05-17 18:08:12 -0500

jayess gravatar image

Hi, I've installed ROS2 Foxy on Windows 10. Able to run talker and turtlesim examples without issues.

I'm going through the 'Creating a workspace' tutorial and colcon build --merge-install gives me the following error:

Windows10 ROS2 Foxy 'colcon' is not recognized as an internal or external command, operable program or batch file.

I've already done this to my workspace: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64

Colcon has already been installed using the following: python -m pip install -U colcon-common-extensions

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-05-17 16:52:44 -0500

tigrhwk gravatar image

Got it figured out. C:\Python38\Scripts needed to get added as a path variable. Hopefully this is useful information to somebody

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-05-17 02:20:03 -0500

Seen: 1,341 times

Last updated: May 17 '21