This commit is contained in:
jrhlh
2025-07-19 09:17:41 +08:00
parent 3304ed269d
commit 17de39c451

View File

@ -30,11 +30,11 @@ jobs:
- name: 安装 Python 3.11
run: |
sudo apt update
sudo apt install -y software-properties-common
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt update
sudo apt install -y python3.11 python3.11-venv python3.11-distutils
sudo apt-get update
sudo apt-get install -y python3.11 python3.11-venv python3.11-distutils python3-pip
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
python3 --version