【问题标题】:install python3-tk on python3.5 or higher在 python3.5 或更高版本上安装 python3-tk
【发布时间】:2018-02-18 07:54:03
【问题描述】:

当我尝试在 ubuntu 16.04 上为 python3.5 安装 python3-tk 时出现以下错误,我该怎么办?

python3-tk : 取决于:python3 (

【问题讨论】:

    标签: python-3.5 ubuntu-16.04


    【解决方案1】:

    python3-tk 对 Python 3.5 或更高版本没有任何问题,您可能有一个过时的源列表。

    sudo apt-get 更新

    您可以检查您的来源列表是否已过时,使用以下链接更新您的来源列表

    https://repogen.simplylinux.ch/

    【讨论】:

      【解决方案2】:

      拉塞赫, 我要补充一点,如果你在 Ubuntu 上,在进行 apt-get update 之后,只需发出安装即可

      sudo apt-get install python3-tk 
      

      这基本上就是在this thread 中发生的事情-尽管对于 Centos-。祝你好运

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-05-24
        • 2018-04-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-11-09
        • 2015-08-17
        • 2016-12-09
        相关资源
        最近更新 更多