Forum: Poser - OFFICIAL


Subject: Python script HELP needed...

sirenia opened this issue on Aug 16, 2009 · 4 posts


sirenia posted Sun, 16 August 2009 at 6:08 AM

Hi all,

I downloaded Dimension3d 's script "Spawn FBM from morphs and deformers" from freestuff here but when i try it out in Poser 6 (on Mac) i get the following message :

Traceback (most recent call last):
  File "", line 10, in ?
  File "Macintosh HD:Applications:Poser 6:Runtime:Python:Lib:lib-tk:Tkinter.py", line 35, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

Anybody knows what happening (or not happening) here ??
I 'm trying to create a FBM for a figure which has currently 17 magnets applied on it 's geometry.

Thanks
Wim

 

Society failed to tolerate me...

... and i have failed to tolerate society

 


PhilC posted Sun, 16 August 2009 at 6:15 AM

Don't think that Tkinter works in Poser 6 on a Mac. At least I do not recall being able to get it to function and for that reason none of my Poser 6 scripts use it.


sirenia posted Sun, 16 August 2009 at 8:01 AM

So as far as i understand it, it is somekind of an interface, correct ?
Apparently you can install it on a Mac (did a Google search) but i would first have to install "TclTkAqua" for some reason.

I 'm no python expert so i will have to investigate a bit more before i blindly install these python thingies.

 

Society failed to tolerate me...

... and i have failed to tolerate society

 


markschum posted Sun, 16 August 2009 at 5:11 PM

just make sure your tkinter is for the right version of python.

import sys
print sys.version

will get the python version number.
I see several listings for tkinter on mac osx .