Why does it say that no module named tkinter?

后端 未结 2 1408
迷失自我
迷失自我 2020-12-12 06:40

Good day. I installed pyhton 2 and python 3 in my laptop. And i\'m using python 3 interpreter in writing my codes. Here is my code.

#! /usr/bin/python3

from         


        
2条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 07:02

    you need to check the module name or package name before using it, do this

    from Tkinter import *
    

提交回复
热议问题