Ubuntu安装Tkinter

sudo apt-get install python-tk

python3需要使用sudo apt-get install python3-tk

注意:Python3在使用tkinter 时一定要用小写t

你可能感兴趣的:(Ubuntu安装Tkinter)