ubuntu 下安装pip3

在使用任何apt 安装任何软件包之前,建议用以下命令更新软件

sudo apt update

更新好了后可能会出现

apt list --upgradable

安装pip3

sudo apt install python3-pip

验证安装是否成功

pip3 --version

然后安装构建python 模块所需的开发工具,

sudo  apt install build-essential python3-dev python3-setuptools

猜你喜欢

转载自www.cnblogs.com/yanxiatingyu/p/10160712.html