码迷,mamicode.com
首页 > 编程语言 > 详细

centos7 yum 安装 python3.6

时间:2018-11-19 20:07:09      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:rap   -o   images   code   imp   dex   evel   water   RoCE   

wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum install python36 python36-devel -y
curl https://bootstrap.pypa.io/get-pip.py|python3.6

mkdir ~/.pip

cat > ~/.pip/pip.conf <<EOF
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com
EOF

pip3.6 install xxxxxx 用3.6的pip安装模块
python3.6 xxxx.py 用python3.6执行脚本

技术分享图片

centos7 yum 安装 python3.6

标签:rap   -o   images   code   imp   dex   evel   water   RoCE   

原文地址:http://blog.51cto.com/9272317/2318785

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!