首页
关于
Search
1
AdGuardHome 安装及部署教程
42,621 阅读
2
搭建基于telegram的无限网盘
10,404 阅读
3
关于微软Azure学生白嫖指南
10,363 阅读
4
Oracle开放全部端口并关闭防火墙
10,254 阅读
5
最新Cloudflare免费自选IP教程(非Partner)
9,653 阅读
默认分类
技术搬砖
教学设计
故事奇谈
生活琐事
错题分析
精品软件
登录
找到
1
篇与
centos7
相关的结果
2021-04-07
在centos7下安装python3.7.9
1、安装各种依赖包 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel2、下载python3.7.9安装包并解压缩 wget "https://www.python.org/ftp/python/3.7.9/Python-3.7.9.tgz" tar -zxvf Python-3.7.9.tgz3、编译安装 cd Python-3.7.9 ./configure --prefix=/usr/local/python3 make && make install4、创建软链接 ln -s /usr/local/python3/bin/python3 /usr/bin/python3 ln -s /usr/local/python3/bin/pip3 /usr/bin/pip35、验证 [root@seeker-01 ~]# python Python 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> [root@seeker-01 ~]# python3 Python 3.7.9 (default, Aug 28 2020, 13:28:49) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
技术搬砖
# python3
# centos7
admin
4年前
0
1,233
2