python
sudo apt-get install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt install python3.11
上面步骤执行完成后,先测试下版本:
python3 -V # 或 python3.11 -V
pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python3.11 get-pip.py