python3.5-centos安装
2016-12-20 17:01
555 查看
下载安装包
python3.5.2官网下载地址如果你懒,直接用下面的命令好了
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz[/code]解压
tar -xzvf Python-3.5.2.tgz安装之前
请安装如下组件:gcc(编译要用)、openssl-devel(安装pip3)yum install gccyum install zlib-devel安装
进入到解压后的目录cd Python-3.5.2
配置安装目录(在这里选择使用默认的),命令如下:./configure
编译:make
安装:make install安装完成
看一下python3和pip3的版本,python3 --versionpip3 --version错误提示
执行make install之后,过程很顺利,但是最后提示Ignoring ensurepip failure: pip 8.1.1 requires SSL/TLS,是因为没有安装SSL
安装命令如下:Ignoring ensurepip failure: pip 8.1.1 requires SSL/TLS
相关文章推荐
- CentOS 6 安装 Python3.5
- Centos6.6安装Python3.5笔录
- CentOS 7下安装Python3.5
- centos7 python3.5安装mysqlclient1.3.9
- centos6.5 安装python3.5
- Centos修炼----->Centos7之安装Python3.5
- Centos6.5 编译安装python3.5版本,无法使用退格键方向键删除键等
- CentOS 6.5 安装Python 3.5 【转】
- CentOS 6.5 安装Python 3.5
- centos6.5下安装python2.7,python3.5
- CentOS升级Python3.5并安装lxml等模块
- 在CentOS 7上安装Python3.5源码包
- centos下安装python3.5
- CentOS 7下安装Python3.5
- CentOS6.5 安装Python3.5
- centOS6.4安装python3.5,并且安装pip
- 阿里云Centos下安装升级Python3.5
- CentOS 6 安装 Python3.5
- CentOS 6.7安装python3.5
- CentOS7.2安装Python3.5