最近因为环境问题,简单记录下Python3.7的安装过程:
下载地址:http://python.org/ftp/python/3.7.6/Python-3.7.6.tgz
编译安装步骤:
sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl libffi-dev -y tar -zxvf Python-3.7.6.tgz cd Python-3.7.6 ./configure --enable-optimizations
sudo make && sudo make install python3 # 检查
实践出真知~