Ubuntu中pip的安装

可直接使用apt命令进行安装:

sudo apt-get install -y python-pip

上述命令用于安装Python2的pip。

如果想安装Python3的pip,使用命令:

sudo apt-get install -y python3-pip

你可能感兴趣的:(Ubuntu中pip的安装)