如果我尝试使用sudo apt-get install python-pip安装PipforPython2,它会抛出以下错误消息:
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是通过get-pip.py安装pip问题的唯一解决方案,还是有其他解决办法?
发布于 2020-06-12 07:33:08
Python2的支持是掉到布尔塞耶。直接从上游下载它仍然有效(至少,只要Python 2本身在Bullseye中是可用的.)。
另一个可行的解决方案(我还没有尝试过这个特定的场景)是添加Buster存储库并从那里安装python-pip。这在一般情况下是不推荐的,但是如果您对跟踪测试很满意,那么它不应该造成任何重大的困难。
https://unix.stackexchange.com/questions/592405
复制相似问题