我怎么才能把这个移除?
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
发布于 2017-01-08 12:24:12
程序在~/.bashrc
文件中留下了一些不必要的行。gedit ~/.bashrc
查找并删除它们。
这个source/opt/ros/jade/setup.bash
是由命令添加的,您输入了屏幕截图:$ echo "source/opt/ros/jade/setup.bash" >> ~/.bashrc
。
发布于 2020-08-28 23:53:43
我也得到了这个问题,但我有一个不同的解决方案。我正在使用zsh
,我需要更改:
source ~/catkin_ws/devel/setup.bash
至
source ~/catkin_ws/devel/setup.zsh
在我的.zshrc
里
https://askubuntu.com/questions/869363
复制相似问题