bash: --save_dir: command not found
时间: 2023-10-07 14:08:09 浏览: 89
This error message means that the command you entered is not recognized by the system.
In this case, it seems like you are trying to use the argument "--save_dir" with a command, but the command does not recognize this argument.
Make sure that you are using the correct command and that the syntax is correct. If you are not sure, check the documentation or try running the command without the "--save_dir" argument to see if it works.
相关问题
-bash: catkin_make: command not found
当出现"-bash: catkin_make: command not found"错误时,可以按照以下步骤解决:
1. 确保已经安装了ROS(Robot Operating System)并且已经正确设置了环境变量。
2. 检查是否正确安装了catkin工具。在终端中运行以下命令来安装catkin工具:
```shell
sudo apt-get install ros-melodic-catkin
```
3. 如果已经安装了catkin工具但仍然出现该错误,可能是因为系统没有找到catkin_make命令。这可能是因为catkin_make命令没有添加到系统的环境变量中。
4. 可以通过将ROS的设置文件添加到bashrc文件中来解决这个问题。在终端中运行以下命令:
```shell
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
```
5. 现在再次尝试运行catkin_make命令,应该不再出现"-bash: catkin_make: command not found"错误。
-bash: onload_uninstall: command not found
当你看到提示`-bash: onload_uninstall: command not found`时,这通常表示你在终端中尝试运行一个名为`onload_uninstall`的命令,但是系统找不到这个命令。这个错误通常发生在以下几个方面:
1. **命令不存在**: `onload_uninstall`可能是你自己编写的脚本或者程序,但还没有添加到系统的路径中,所以系统无法找到。
2. **拼写或大小写错误**: 检查一下命令名是否正确输入,包括大小写,有时候Linux对命令名称是区分大小写的。
3. **没有安装相应的软件**: 如果这是一个特定软件的自定义命令,可能你尚未安装该软件或没有配置好环境变量。
4. **旧版本的shell**: 如果你在旧版的Bash shell或者非默认路径中寻找命令,可能会出现这个问题。确认你在当前会话中使用的shell和搜索路径设置。
要解决这个问题,你可以采取以下步骤:
1. **检查拼写和大小写**: 确保你输入的`onload_uninstall`没有错。
2. **使用`which`命令查找**: 在终端中输入`which onload_uninstall`,看看系统是否能找到这个命令。
3. **查看环境变量**: 查看你的PATH环境变量,确保包含有`onload_uninstall`可能存在的目录。
4. **安装或更新软件**: 如果是某个软件的命令,尝试安装或更新该软件。
5. **重新加载shell**: 重启终端或者运行`source ~/.bashrc`(如果你使用的是Bash)来确保新设置生效。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)