python3 安装turtle tkitnter 报错

 

导入tkinter模块后,运行出现No module named _tkinter, please install the python-tk package ubuntu运行tkinter错误

 

解决

首先

sudo apt-get update(如果不更新很有可能找不到tkinter),

然后

sudo apt-get install python3-tk

猜你喜欢

转载自www.cnblogs.com/hanwenlin/p/10638429.html
今日推荐