Thanks for the pointer to otool.

Python -v displays the following:

>>> import Tkinter
# /usr/local/lib/python2.7/lib-tk/Tkinter.pyc matches 
/usr/local/lib/python2.7/lib-tk/Tkinter.py
import Tkinter # precompiled from /usr/local/lib/python2.7/lib-tk/Tkinter.pyc
dlopen("/usr/local/lib/python2.7/lib-dynload/_tkinter.so", 2);
import _tkinter # dynamically loaded from 
/usr/local/lib/python2.7/lib-dynload/_tkinter.so
# /usr/local/lib/python2.7/lib-tk/Tkconstants.pyc matches 
/usr/local/lib/python2.7/lib-tk/Tkconstants.py
import Tkconstants # precompiled from 
/usr/local/lib/python2.7/lib-tk/Tkconstants.pyc

Then:

otool -L /usr/local/lib/python2.7/lib-dynload/_tkinter.so
/usr/local/lib/python2.7/lib-dynload/_tkinter.so:
        /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl (compatibility 
version 8.5.0, current version 8.5.11)
        /Library/Frameworks/Tk.framework/Versions/8.5/Tk (compatibility version 
8.5.0, current version 8.5.11)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
1105.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 159.1.0)

Updating hook-_tkinter.py with 

/Library/Frameworks/Tcl.framework/Versions/8.5
/Library/Frameworks/Tk.framework/Versions/8.5

Does not resolve the problem. ( I had already tried .../Versions/Current, which 
is the same thing.)

There must be something else pyinstaller needs to make this work.

Lynn
  
On Mar 13, 2012, at 11:24 AM, Martin Zibricky wrote:

> Lynn Oliver píše v Út 13. 03. 2012 v 10:30 -0700:
>> 
>>> .You need to test for the Homebrew /Mayports locations there. Should
>> be easy if you know the pathes.
>> 
>> As far as I can tell, the path used to find Tcl is imbedded in
>> _tkinter.so, and I haven't been able to suss out where it is going.
>> Worse, I'm not able to track down any copy of Tcl in the folders used
>> by HomeBrew (/usr/local/Cellar...).  Any tips for tracking it down?
> 
> otool is installed with XCode.
> 
> otool -L /path/to/this/module/_tkinter.so
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "PyInstaller" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/pyinstaller?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to