UOS安装python3.11
UOS安装python3.10
下载 https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz (本人使用迅雷下载比较快)
鼠标右键 解压到Python-3.11.0
进入带 configure 文件的文件夹 (Python-3.11.0/Python-3.11.0/)
点击右键 在终端打开
命令行依次输入(每行等待执行结束):
sudo apt install make
./configure --prefix=/usr/local/python3.11
sudo make
sudo make install
sudo ln -s /usr/local/python3.11/bin/python3.11 /usr/bin/python3.11
sudo ln -s /usr/local/python3.11/bin/pip3.11 /usr/bin/pip3.11
中间没报错的话python3.11就安装好了
在命令行输入python3.11就可以执行
pip3.11 安装python所需库
————————————————
原文链接:https://blog.csdn.net/hucssxd_one/article/details/125263739
为你推荐