This commit is contained in:
jrhlh
2025-07-19 09:05:12 +08:00
parent 9f14b77cbc
commit 3304ed269d

View File

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