$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip
我的 pip 和 pip3 都安装在 python 3 中
pip -V
pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8)
pip3 -V
pip 20.1.1 from /usr/lib/python3/dist-packages/pip (python 3.8)
现在 我 无法 安装 pip … 它 显示 上述 错误
原文由 daniel lugo 发布,翻译遵循 CC BY-SA 4.0 许可协议
如果您安装了 python(python2),则可以使用以下命令安装 pip(for python2)。
现在您可以检查 pip2
我希望这些对你有帮助