From 799fc8a50a9ca6c3395dd6f80d1f98da59eca3ca Mon Sep 17 00:00:00 2001 From: zhang-pu <4738@163.com> Date: Mon, 1 Jun 2026 12:25:34 +0800 Subject: [PATCH] Update install.sh --- install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 4642760..c342e3a 100644 --- a/install.sh +++ b/install.sh @@ -61,10 +61,8 @@ else systemctl start mariadb fi -# Python3 和 pip -if ! command -v python3 &>/dev/null; then - $PKG_MANAGER install -y python3 python3-pip python3-venv -fi +# Python3、pip 和 venv(Debian/Ubuntu 虚拟环境支持) +$PKG_MANAGER install -y python3 python3-pip python3-venv python3-dev libxml2-dev libxslt1-dev # certbot if ! command -v certbot &>/dev/null; then