Forum: Poser 12


Subject: Python scripts not working? Try this.

Mason41 opened this issue on Nov 04, 2020 ยท 2 posts


Mason41 posted Wed, 04 November 2020 at 5:13 PM

You will need to download the latest python 3 from the python.org site

C:/Users/*your user name*/AppData/Local/Programs/Python/Python39/tcl/tcl8.6
C:/Users/*your user name*/AppDataLocal/Programs/Python/Python39/tcl/tk8.6

These two dirs go into your 
Runtime/Python/lib
directory as sub directories.
So it will be
Runtime/Python/lib/tcl8.6
Runtime/Python/lib/tk8.6

Also note 3 is pickier than older python so tkinter is now all lower case in your scripts. Also your script file cannot mix spaces and tabs for indenting, has to be one or the other.