Tue, Apr 23, 7:51 AM CDT

Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Mar 19 1:03 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: So no TKintr with poser 12?


Mason41 ( ) posted Mon, 02 November 2020 at 6:17 PM · edited Fri, 19 April 2024 at 2:59 PM

All my python scripts now crash and Poser 12 cannot find Tkinter library.


Mason41 ( ) posted Mon, 02 November 2020 at 6:43 PM

Ok I was able to fix this by downloading the latest python then copying the tcl8.6 and tk8.6 dirs to the runtime/python/lib directory. I think the tkinter directory also has to be copied. Also you can't use Tkinter anymore. its all lower case.


HartyBart ( ) posted Tue, 03 November 2020 at 7:58 AM

Thanks Mason41, that's very useful to know. When you say the name "Tkinter" has to be in lowercase, do you mean the folder-name or referencing it in the script?



Learn the Secrets of Poser 11 and Line-art Filters.


ockham ( ) posted Tue, 03 November 2020 at 8:56 AM

Unfortunately the reinstall is impossible because Python's official installers will no longer even work on Windows 7. So it's up to Bondware to fix this if they want to have Python functional on Poser. I'm NOT GOING TO SWITCH TO MALWARE 10 just to make a few new features available.

My python page
My ShareCG freebies


FVerbaas ( ) posted Tue, 03 November 2020 at 9:22 AM · edited Tue, 03 November 2020 at 9:23 AM
Forum Coordinator

On Windows you can use pip to install external packages in the Python 3 now included in Poser.

For now the magic phrase is:

pip._internal.main(['install', package])

With 'package' of course the name of the package you want to install. It triggers a warning the method may not work in future versions but it works in this one.


Mason41 ( ) posted Tue, 03 November 2020 at 2:37 PM

HartyBart posted at 2:36PM Tue, 03 November 2020 - #4403013

Thanks Mason41, that's very useful to know. When you say the name "Tkinter" has to be in lowercase, do you mean the folder-name or referencing it in the script?

In the scripts. Also python 3 is more sensitive about tabs and spaces so your script can't mix tabs and spaces.


HartyBart ( ) posted Wed, 04 November 2020 at 1:36 AM

Thanks. It would be useful to have the correct and tested folders in a ZIP on Renderosity Freestuff, so save people from having to wrestle with downloading Python and locating the required folders. For instance, I failed to find the required folders among the various install ZIPs for Python 3.7.9.



Learn the Secrets of Poser 11 and Line-art Filters.


Mason41 ( ) posted Wed, 04 November 2020 at 5:07 PM · edited Wed, 04 November 2020 at 5:09 PM

HartyBart posted at 5:05PM Wed, 04 November 2020 - #4403179

Thanks. It would be useful to have the correct and tested folders in a ZIP on Renderosity Freestuff, so save people from having to wrestle with downloading Python and locating the required folders. For instance, I failed to find the required folders among the various install ZIPs for Python 3.7.9.

C:/Users/*your user name*/AppData/Local/Programs/Python/Python39/tcltcl8.6
C:/Users/*your user name*/AppDataLocal/Programs/Python/Python39/tcltk8.6

These two dirs go into your 
Runtime/Python/lib
directory as sub directories.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.