mportError: No module named _tkinter, please install the python-tk package

来源:互联网 发布:金曲软件 编辑:程序博客网 时间:2024/06/03 21:51

Thinking

—–Runing into this problem,I thought it is the oldest way that just pip can fix this.But after I type “pip install _tkinter ” and “pip install python-tk”,all I got is that this package is not exists.I really don’t know what to do.

Solution

—–Luckily,Stack Overflow gives this command “sudo apt-get install python-tk”,woooooooo, above error is gone.

阅读全文
0 0
原创粉丝点击