已经成功执行

pip install -U colcon-common-extensions vcstool

但是执行如下命令时报错:

vcs import src < fastrtps.repos
Command 'vcs' not found, did you mean:
...
Try: sudo apt install <deb name>

原因

pip install 可能把 vcs 安装到了 ~/.local/bin/

解决方案

运行如下命令,修改 PATH 环境变量

PATH=$PATH:~/.local/bin

参考链接

https://answers.ros.org/question/386163/vcs-command-not-found/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2021-09-02
  • 2021-04-22
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案