Ubuntu18.04默认内嵌python2、python3,pip安装时,python2对应安装pip,python3对应安装pip3.
sudo apt install python3-pip
检查版本:
pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
Ubuntu18.04默认内嵌python2、python3,pip安装时,python2对应安装pip,python3对应安装pip3.
sudo apt install python3-pip
检查版本:
pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)