ソースを参照

update install

zehe 3 ヶ月 前
コミット
76300a852e
1 ファイル変更7 行追加4 行削除
  1. 7 4
      install.sh

+ 7 - 4
install.sh

@@ -46,13 +46,16 @@ install_dependencies() {
         apt-get update
         apt-get install -y python3 python3-pip python3-venv
     elif command -v yum &> /dev/null; then
-        yum install -y python3 python3-pip python3-venv
+        yum install -y python3 python3-pip
+        # python3-venv not available in CentOS/RHEL, use built-in venv
     elif command -v dnf &> /dev/null; then
-        dnf install -y python3 python3-pip python3-venv
+        dnf install -y python3 python3-pip
+        # python3-venv not needed in newer Fedora, venv is built-in
     elif command -v pacman &> /dev/null; then
-        pacman -S --noconfirm python python-pip python-virtualenv
+        pacman -S --noconfirm python python-pip
+        # venv is built into Python 3.3+
     else
-        print_error "Unsupported package manager. Please install Python 3, pip, and venv manually."
+        print_error "Unsupported package manager. Please install Python 3 and pip manually."
         exit 1
     fi
 }