最近因为环境问题,简单记录下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 # 检查
posted on 2020-01-03 13:12  落叶虽美只活一世  阅读(971)  评论(0编辑  收藏  举报
Live2D