Ubuntu 14.04 安装 Python 3.6
文章目录
环境介绍
Ubuntu 14.04.6
Python-3.6.0
**注: 轻易不要改python的默认版本,会有意想不到的bug**
https://www.python.org/ftp/py...
解压包
tar -xvf Python-3.6.0.tar.xz
编译
./configure --with-ssl
报错信息
configure: error: no acceptable C compiler found in $PATHapt-get -y install build-essential
安装
make && make install
报错信息
zipimport.ZipImportError: can't decompress data; zlib not availableapt-get install -y zlib1g-dev
安装成功

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论