python3.6使用问题
Tofloor
poster avatar
s7533
deepin
2020-03-20 03:00
Author
Python 3.6.9 (default, Mar 19 2020, 16:53:46)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
Traceback (most recent call last):
  File "", line 1, in
  File "/usr/local/lib/python3.6/tkinter/__init__.py", line 36, in
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'

这个怎么解决,有大神吗


Reply Favorite View the author
All Replies
avatar
Ochir
deepin
2020-03-22 11:22
#1
更新一下tk和tcl模块

配置一下库的指向
Reply View the author