
이것을 어떻게 제거할 수 있나요?
bash: /opt/ros/kinetic/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
답변1
프로그램이 파일에 불필요한 줄을 남겼습니다 ~/.bashrc
. gedit ~/.bashrc
찾아서 삭제하세요.
이것은 source/opt/ros/jade/setup.bash
스크린샷에 입력한 명령에 의해 추가되었습니다: $ echo "source/opt/ros/jade/setup.bash" >> ~/.bashrc
.
답변2
나도 이 문제를 겪고 있었지만 다른 해결책이 있었습니다. 저는 다음을 사용하고 zsh
있는데 변경이 필요했습니다.
source ~/catkin_ws/devel/setup.bash
에게
source ~/catkin_ws/devel/setup.zsh
내.zshrc