MacOS – Old python script not working on mac – needs tkinter

macospython

I'm running mojave 10.14.2
I typed this into terminal python -V
and got
Python 2.7.10

I use 3D software called poser, and I had some amazingly useful scripts for this that i bought. There is one in particular made by D3D (Ralph) who sadly passed away.
The script he made calls for tkinter, but for recent OSs the script fails on my imac pro because there is no tkinter.

If I were to try to load in a more modern version of python eg like 3. something, do you think my scripts that need tkinter possibly work?
Esther (who knows nothing about programming)

Best Answer

Make sure that the script calls the system python: /usr/bin/python

Make sure that Tkinter is imported as Tkinter (with a Capital T). Using all lower case will fail with an error message.

Tkinter is included with the built-in version of python on MacOS, so there must be some other problem on your Mac if Tkinter is not 'there'.