ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Based on the paths above it looks like you may have a python installation shadowing the system python installation used by ROS 2.
The /home/debian/.local
paths in your error output are what suggest this to me. I've had issues in the past with pip packages I've installed in .local interfering with system-wide packages. I tested by moving ~/.local to ~/.local.disabled and trying again in a new shell to find my command successful. I never resolved the issue with overlapping packages in .local and ended up just uninstalling packages that were there.