Python 3.4 not running tkinter in Console ONLY

203 Views Asked by At

When i'm running the program in the IDLE for python 3.4, the program works fine and as intended. However, when using python Console (through python.exe) the Console returns "ImportError: No Module named tkinter". I am aware of the differences of tkinter (3.x) and Tkinter (2.x) and am sure it is not this. It might be related to the nonstandard Python build I am using, WorldViz's Vizard.

1

There are 1 best solutions below

0
TigerhawkT3 On

If your environment variables are pointing to a nonstandard Python build that doesn't include your desired module, you can specify the correct Python build rather than relying on py or python at the command line:

C:\Users\You> C:\Python34\python.exe myprogram.py