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

ros2 command not found on Windows

asked 2023-05-13 07:05:40 -0600

sonnyky gravatar image

'ros2' is not recognized as an internal or external command,

I followed the installation steps here, https://docs.ros.org/en/humble/Instal...

I could run the samples for one time, and I mistakenly uninstalled Python, so I reinstalled Python again, but after that ros2 command is not found anymore.

I even repeated the install steps again. When I run the following command, there was no error and no output at all, even with set AMENT_TRACE_SETUP_FILES=1/

call path-to-ros2-humble-folder\local_setup.bat

Any ideas what to check?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-15 00:04:07 -0600

Turuu gravatar image

You have to uninstall ROS and its related packages/tools. Install them again and see.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2023-05-13 07:03:03 -0600

Seen: 169 times

Last updated: May 15