Python3.6安装
2017-02-25 20:16
281 查看
1、安装依赖包
#yum install -y openssl openssl-devel openssl-static
#yum groupinstall -y "Development tools"
若未安装该静态库会导致python3自带的pip3安装失败
2、下载源码包
#wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz #tar xvf Python-3.6.0.tar.xz
3、编译安装
#cd Python-3.6.0
#./configure
#make
#make install
4、设置PATH
#vim /etc/profile
export PATH=$PATH:/usr/local/bin
#source /etc/profile
5、验证
#python3 -V
#yum install -y openssl openssl-devel openssl-static
#yum groupinstall -y "Development tools"
若未安装该静态库会导致python3自带的pip3安装失败
2、下载源码包
#wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz #tar xvf Python-3.6.0.tar.xz
3、编译安装
#cd Python-3.6.0
#./configure
#make
#make install
4、设置PATH
#vim /etc/profile
export PATH=$PATH:/usr/local/bin
#source /etc/profile
5、验证
#python3 -V
相关文章推荐
- 全套:python3.6安装步骤+beautifulsoup4-4.5.1安装+lxml+html5lib+requests安装
- python 3.6 lxml包安装过程记录
- win7 32bit python3.6下安装scrapy
- Python3.6 scrapy安装系列问题 could not found Twisted
- python3.6 sqlalchemy安装与使用
- python3.6 xlwt 安装报错解决
- 详解如何在 Linux 中安装最新的 Python 3.6 版本
- Python3.6安装及引入Requests库
- Ubuntu14.04 Anaconda(python3.6)安装tensorflow (报错:undefined symbol: zgelsd_; is not a supported wheel等
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- CentOS7安装Python3.6
- CentOS 7 (Fedora EPEL 7) 下安装python3.6 matplotlib显示问题
- centos7下安装多版本python3.6
- 安装Python3.6和requests
- Python3.6安装 pip安装 BeautifulSoup安装
- Python-001-安装python3.6
- windows 安装python3.6(numpy,scipy,pandas,matplotlib,scikit-learn)
- win10系统安装numpy,scipy,matplotlib,基于python3.6
- Python3.6安装以及numpy库、matplotlib库的安装方法(Win7)
- 在windows 10 64bit系统上安装python 3.6 64bit的numpy模块