Why Is This Module Not Being Found When I Run The Script But Is In The Interpreter?
I'm trying to import the tkinter module into my script. I have it installed since the interpreter is able to import it with no problems: C:\Users\Nacht\Dropbox\Scripts>python Py
Solution 1:
The script appears to be running with Python 2.7 but when you run the interpreter directly, it is using Python 3.2. As mentioned by @DSM, the name of Tkinter was different (perhaps there are other differences?).
Solution 2:
May be there is a problem with path. It can't find the tkinter module. Setting up correct path try to import again.
Post a Comment for "Why Is This Module Not Being Found When I Run The Script But Is In The Interpreter?"