出现错误 -bash: pip3: command not found

错误原因:pip3命令没有找到


解决方法

先安装扩展源EPEL,这个扩展源提供了很多软件包的下载。

yum -y install epel-release

安装 pip3

Centos系统

yum  install python3-pip -y

Ubuntu等系统

sudo apt install python3-pip -y