centos7 如何通过yum 安装python3 和 pip3

发布于 2021-03-11 17:55:39

1.升级环境

yum update -y

2.安装python3

yum install -y python3

3.检查python3 和 pip3是否安装成功

[root@localhost ~]# python3
Python 3.6.8 (default, Nov 16 2020, 16:55:22) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
[root@localhost ~]# pip3

Usage:   
  pip <command> [options]

0 条评论

发布
问题