python3-pip 没有安装候选

新手上路,请多包涵

输入后出现错误:

 sudo apt-get install python3-pip

这是错误:

 Package python3-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

E: Package 'python3-pip' has no installation candidate

我应该怎么办?

原文由 Ananya Panda 发布,翻译遵循 CC BY-SA 4.0 许可协议

阅读 877
1 个回答

您需要先更新源列表,尝试运行

sudo apt-get update
sudo apt-get upgrade  #Optional
sudo apt install python3-pip

原文由 Rahul Raut 发布,翻译遵循 CC BY-SA 4.0 许可协议

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进