Ubuntu 18.04.2:pip 的常规安装不起作用

Ubuntu 18.04.2:pip 的常规安装不起作用

我正在尝试使用 安装 pip sudo apt install python-pip,但它好像存储库已死,因为我在“安装”过程中收到此消息:Réception de:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.3.0-27ubuntu1~18.04 [7 455 kB] 我已经运行sudo apt updatesudo apt upgrade没有成功。

这是我的 sources.list 文件:

deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse

相关内容