Why doesn't tkinter import on CentOs 7

前端 未结 4 1938
孤独总比滥情好
孤独总比滥情好 2021-01-24 21:29

I have the python3-tkinter installed, as shown below:

$ sudo yum install python3-tkinter
[sudo] password for abigail: 
Loaded plugins: fastestmirror, langpacks
L         


        
4条回答
  •  情书的邮戳
    2021-01-24 22:07

    For Python 3.6.x on CentOS 7.4, install:

    $ sudo yum install python36-tkinter
    

    You need to have EPEL repository configured.

提交回复
热议问题