解决博文:https://blog.csdn.net/weixin_37835458/article/details/79878785

输入sudo rosdep init报错如下:

Traceback (most recent call last):

  File "/usr/bin/rosdep", line 3, in <module>
    from rosdep2.main import rosdep_main
ImportError: No module named 'rosdep2'

解决:

方案1:将Ubuntu默认python版本设置为2.7

方案2:输入命令 sudo apt-get install python3-rosdep

相关文章:

  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2021-03-31
  • 2021-12-21
  • 2021-09-10
  • 2021-06-02
猜你喜欢
  • 2021-07-19
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
  • 2022-12-23
相关资源
相似解决方案