Robotics StackExchange | Archived questions

ros2 command not found on Windows

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

I followed the installation steps here, https://docs.ros.org/en/humble/Installation/Windows-Install-Binary.html#install-chocolatey

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 AMENTTRACESETUP_FILES=1/

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

Any ideas what to check?

Asked by sonnyky on 2023-05-13 07:03:03 UTC

Comments

Answers

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

Asked by Turuu on 2023-05-15 00:04:07 UTC

Comments