尝试安装 Flask - 未满足软件包依赖性

尝试安装 Flask - 未满足软件包依赖性

我想要开始使用 Python Flask,现在尝试在 16.10 安装中安装我需要的软件包。运行“sudo apt-get install python3-flask”后,我得到以下输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-flask : Depends: python3-click but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

出于好奇,我查看了 Synaptic 中的软件包,发现我已经安装了这个 python3-click-package。

有什么解决此问题的建议吗?

答案1

作为 的输出apt list --installed | grep python3-click

python3-click-package/yakkety,now 0.4.45.1+16.10.20160916-0ubuntu1 amd64 [installed,automatic] 

指出包已安装,您只需要前面的依赖项:python3-flask

您可以从以下位置手动下载并安装这里

相关内容