
Elementary OS가 있고 ROS(로봇 운영 체제)를 설치하려고 하는데 초기화하려고 하면 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
이 명령을 실행하면 내 문제가 해결되었습니다.
sudo -H pip install -U rosdep
그러면 누락된 Python 모듈이 설치됩니다.