linux安装python3.9
1. 查看当前python版本可以看到执行python,默认是2.72. 安装依赖包yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel3. 下载源码包wget https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz我是下载的最新的python3