Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named Tkinter found #3

Closed
varunotelli opened this issue Mar 26, 2018 · 1 comment
Closed

No module named Tkinter found #3

varunotelli opened this issue Mar 26, 2018 · 1 comment

Comments

@varunotelli
Copy link

Getting error while trying to send sms
ModuleNotFoundError: No module named 'Tkinter'

@shubhamc183
Copy link
Owner

You are getting this error because you don't have Tkinter package installed in your current python PATH.

In python2, it's Tkinter, whereas in python3 it's tkinter

try:
    # for Python2
    from Tkinter import *   ## notice capitalized T in Tkinter 
except ImportError:
    # for Python3
    from tkinter import *   ## notice lowercase 't' in tkinter here

Check here.

BUT YOU DON'T NEED TKINTER FOR THIS PROGRAM TO RUN..!, if you are doing something additional then try installing using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants