tkinter未预安装。我已经检查过了。我尝试使用
安装tkinteryum install tkinter
在此之后我得到一个错误
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Repository 'a' is missing name in configuration, using id
Repository 'c' is missing name in configuration, using id
Repository 'kgdi' is missing name in configuration, using id
Repository 'e' is missing name in configuration, using id
Existing lock /var/run/yum.pid: another copy is running as pid 3212.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 31 M RSS (405 MB VSZ)
Started: Mon Nov 19 18:41:56 2018 - 04:47 ago
State : Sleeping, pid: 3212
我也尝试过使用pip install
Collecting tkinter
Could not find a version that satisfies the requirement tkinter (from versions: )
No matching distribution found for tkinter