-bash: pyton: command not found
时间: 2023-09-27 15:10:42 浏览: 56
This error message means that the command "pyton" is not recognized by the terminal. It is likely a typo or misspelling of the "python" command. Try typing "python" instead and see if that works. If Python is not installed on your system, you will need to install it first before using the command.
相关问题
-bash: start: command not found
-bash: start: command not found 是一个常见的错误提示,它表示在当前环境中找不到名为start的命令。这通常是由于缺少相应的软件包或命令未正确安装所致。解决此问题的方法取决于你想要执行的具体操作。以下是两种常见的情况及其解决方法:
1. 如果你想在终端中启动一个服务或应用程序,并且出现了-bash: start: command not found错误,请确保你已正确安装并配置了相应的软件包。例如,如果你想启动bert-serving服务,你需要先安装bert-serving软件包。你可以使用以下命令来安装bert-serving:
```shell
pip install bert-serving-server
```
安装完成后,你可以使用以下命令来启动bert-serving服务:
```shell
bert-serving-start -model_dir /path/to/model -num_worker=4
```
请注意,上述命令中的/model/to/path应替换为你实际的模型目录路径。
2. 如果你在执行git clone命令时遇到-bash: start: command not found错误,请确保你已正确安装并配置了git软件包。你可以使用以下命令来安装git:
```shell
sudo apt-get install git
```
安装完成后,你可以再次尝试执行git clone命令。
centos上报错-bash: pyton: command not found
这是因为您输入的命令拼写错误,正确的命令应该是python而不是pyton。请重新输入正确的命令。如果您已经安装了Python但仍然遇到此错误,请确认您的Python路径是否正确设置。您可以尝试使用以下命令查看Python路径:
which python
如果路径不正确,您可以手动设置路径或重新安装Python。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.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)