欧云服务器 发表于 2025-4-17 21:19:11

安装雷池waf出现python3: command not found怎么办?

我安装雷池waf出现这个 什么原因
bash -c "$(curl -fsSLk https://waf-ce.chaitin.cn/release/latest/manager.sh)"
bash: line 14: python3: command not found
如图:



865817711 发表于 2025-4-17 21:22:16

其实很简单,这个原因是python未安装,安装下就好了,具体方法如下:
Ubuntu/Debian:
sudo apt update
sudo apt install python3
CentOS/RHEL:
sudo yum install python3
macOS (使用 Homebrew):
brew install python3

安装完以后直接执行你的命令就行,也可验证下,看安装的python版本号是多少
python3 --version
如果安装成功,你会看到类似 Python 3.x.x 的输出。
页: [1]
查看完整版本: 安装雷池waf出现python3: command not found怎么办?