Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 21 6:06 am)
It looks like the script is referring to a hardcoded location for tkinter.
C:Program Files (x86)e frontierPoser 7RuntimePythonliblib-tkTkinter.py
Since you've switched to Win 10, Poser may be in a different location than the hardcoded. The tkinter stuff is always in runtimepythonlib. See if your actual file location is different from the location given.
It could also be a Windows registry problem, since you've switched Win versions. When I was using P7, reinstalling Poser was the best way to resolve these disagreements. If you didn't save the installer, I don't know what else would help.
My python page
My ShareCG freebies
Rendo removes the backslashes. See if this is better.
C:\Program Files (x86)\e frontier\Poser 7\Runtime\Python\lib\lib-tk\Tkinter.py
My python page
My ShareCG freebies
Also, you could look at the script itself and see if the hardcoded location is visible in the top area, among the 'import' statements. If it's there, and it's different from your current actual filepath, just change it to the correct file path.
My python page
My ShareCG freebies
The scripts I'm using don't have a hardcoded location. They just use: "from Tkinter import *". It looks like the error message is just telling me the path it's running Tkinter from, and it's the correct location. Line #38 of the Tkinter.py file in that location is: "import _tkinter # If this fails your Python may not be configured for Tk", so that matches what the error message is telling me. The question is how do I configure my Python for Tk? The last line of the error message indicates that a DLL might be missing. In the Python->DLLs folder, there's a file named "_tkinter.pyd" (along with 25 other files), but maybe there's something else I'm missing?
If I have to, I can reinstall Poser 7 since I still have the CD from many years ago, but I'd like to avoid that if I can. I had a lot of issues figuring out the right updates to install to make it run stable on this machine, and now that I have it working minus this one issue, I'm scared to mess with it too much!
Thanks for your help!
Searches suggest the scripts from Greenpots were to do with his interior room and building models. Presumably for things like opening doors, turn on recessed lights in the architecture, hide walls for angled renders in tight spaces, and that sort of thing. Possibly all that could be done manually - load the models but not their helper scripts?
Anyone know what the script header command "Tkinter import" was meant to do and what might be stopping it? It looks to me like it was meant to provide the means of assembling interactive dialog boxes for the user. You might ask in the Python forum, and also ask if a .pyd file could have been some form of Python .dll file.
Learn the Secrets of Poser 11 and Line-art Filters.
If everything other fails, make a backup from your actual Poser installation. Reinstall Poser. Copy the content from the python folder to a save place. Restore from backup and copy the previously saved (original) Python content into your restored Python folder, but don't allow to overwrite something. Only missed files should be copied.
Thanks everyone for the help. I sent a PM to greenpots to ask him for advice. It's not just his scripts that use Tkinter - I have several from other sources as well. My Google searches indicate that Tkinter is an interface for Python. So, anything that just runs works fine (like a "copy scaling" script I use for short characters' clothing), but anything more complicated crashes. For example, a "delete" script from D3D that lets you select multiple figures/objects to delete all at once. I agree that some of the stuff I can just do manually if I have to, but it would be a huge time saver if I could get it to work.
I'm currently copying my entire Poser 7 directory to try out the reinstallation idea as a last resort.
In my configuration Windows 10 the script is working fine. This is the name and size of my Tkinter python. Note that the name is Tkinter.pyc. I noticed also that the liblib-tk directory is the same for Poser7 on old installation and Poser2010 on windows 10 (Poser2010 has some additional files) I hope this helps.
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.
I am a former hobbyist with a fairly substantial collection of content from 8-10 years ago, mostly V4 and M4 stuff. I recently decided to try to get back into it again, and I've bought a few more items in the last few weeks.
One issue I'm having is very frustrating. The simple python scripts I have run just fine, but anything that uses Tkinter for the interface fails with the following error: Traceback (most recent call last): File "C:Program Files (x86)e frontierPoser 7RuntimePythonposerScriptsgreenpotsmainmenu.py", line 1, in ? from Tkinter import * File "C:Program Files (x86)e frontierPoser 7RuntimePythonliblib-tkTkinter.py", line 38, in ? import _tkinter # If this fails your Python may not be configured for Tk ImportError: DLL load failed: The specified module could not be found.
The main scripts I'm trying to use right now are from greenpots' collection. The ones to merge different scenes together work fine if I run them manually, but his menu system, show/hide walls, change lights, etc. all rely on Tkinter to work. I'm on a Windows 10 64-bit computer.
I've done quite a bit of Google searching to see if anybody else has had this problem, but I haven't had any luck. Any suggestions?