/make.sh: line 282: make: command not found
时间: 2023-10-06 17:14:24 浏览: 121
这个错误通常是由于缺少 make 工具导致的。请尝试在终端中运行以下命令以安装 make 工具:
- 对于 Ubuntu 系统:`sudo apt-get install build-essential`
- 对于 CentOS 系统:`sudo yum groupinstall "Development Tools"`
- 对于 macOS 系统:`xcode-select --install`
安装完成后,再次运行 `/make.sh` 脚本看看是否能够成功编译。
相关问题
./tijiao.sh: line 12: bsub: command not found;轻微为什么有这样的报错
这个报错提示是因为您在Linux终端中使用了bsub命令,但是您的系统中没有安装bsub命令或者没有将其所在的路径添加到系统环境变量中。
如果您已经安装了bsub命令,可以尝试通过以下方式解决问题:
1. 确认bsub命令的安装路径,例如/usr/local/bin/bsub
2. 将该路径添加到系统环境变量中,可以通过在~/.bashrc或~/.bash_profile文件中添加以下语句实现:
export PATH=$PATH:/usr/local/bin
3. 保存文件并执行以下命令更新环境变量:
source ~/.bashrc
如果您还没有安装bsub命令,可以尝试通过以下方式安装:
1. 访问bsub官方网站,下载bsub安装包。
2. 解压安装包并进入安装包目录。
3. 执行以下命令进行安装:
./configure
make
make install
4. 安装完成后,按照上述步骤将bsub命令所在路径添加到系统环境变量中即可。
/bin/sh: vite: command not found
It seems that you are encountering an issue with the "vite" command not being found. This error typically occurs when the command-line tool "vite" is not installed or not available in the system's PATH.
To resolve this issue, you can try the following steps:
1. Make sure you have installed Vite globally by running:
```shell
npm install -g create-vite
```
This will install Vite as a global package and make it accessible from anywhere in the terminal.
2. If you have just installed Vite, try restarting your terminal or opening a new terminal window. This will ensure that the changes made to the PATH variable are recognized.
3. Verify that Vite is installed correctly by running:
```shell
vite --version
```
This should display the version number of Vite if it is installed correctly.
4. If none of the above steps work, it's possible that there was an issue during installation. In such cases, I would recommend uninstalling Vite and reinstalling it using a package manager like npm or yarn.
Please let me know if you need further assistance or if you have any other questions!
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.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)
![whl](https://img-home.csdnimg.cn/images/20210720083646.png)