0
点赞
收藏
分享

微信扫一扫

Ubuntu系统升级Python3版本至Python3.9


# 我也使用的wget ,我下载到了home中
wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz
# 在home中解压
tar -zxf Python-3.9.0.tgz
# 进入python3.9
cd Python-3.9.0

# 编译文件 时间大概有1-3分钟
./configure --prefix=/usr/local/python3

# 编译好后,会有另外一个提示,让run ./configure xxx
./configure xxxx

# 安装
make && make install

# 结束

举报

相关推荐

0 条评论