1
This commit is contained in:
@ -30,11 +30,11 @@ jobs:
|
|||||||
|
|
||||||
- name: 安装 Python 3.11
|
- name: 安装 Python 3.11
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt-get update
|
||||||
sudo apt install -y software-properties-common
|
sudo apt-get install -y software-properties-common
|
||||||
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
||||||
sudo apt update
|
sudo apt-get update
|
||||||
sudo apt install -y python3.11 python3.11-venv python3.11-distutils
|
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
|
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
||||||
python3 --version
|
python3 --version
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user