【发布时间】:2016-08-01 21:04:02
【问题描述】:
我目前正在试验不同的 Linux 发行版,并且正在尝试让我的一些应用程序在最新的 Tails 发行版上运行。为此,我需要 Python3 的 tkinter 库。
遗憾的是,在 python3 中导入 tkinter 不起作用并尝试通过安装它
sudo apt-get install python3-tk
给出以下结果:
Reading package lists... Done
Building dependecy tree
Reading state information... Done
Package python3-tk 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-tk' has no installation candidate
我非常感谢任何可以帮助我安装 tkinter 或至少运行我的应用程序的建议(也许通过在我的项目中包含 tkinter 库,不知何故?)
【问题讨论】: