centos安装使用pip3,报错pip3 command not found-centos-an-zhuang-shi-yong-pip3-bao-cuo-pip3commandnotfound.md

黄师傅 1,549 2023-04-12
  1. 先安装EPEL
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  1. 备份epel.repo和epel-testing.repo
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.back
 
mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.back
  1. 重新安装epel.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
  1. 再运行如下命令,安装pip3
yum install python3-pip