> Tcl/Tk is missing here at all. Your log both say: ERROR: could not find 
> TCL/TK  

Yes, I know.  You asked me to create a simple example that reproduces the 
error.  That was it.

> So you need to find you why TK is not found.

Look at my email from March 14th.  TK is not found because this code:

def find_tk_darwin(binaries):
    pattern = re.compile(r'_tkinter')
    for nm, fnm in binaries:
        mo = pattern.match(nm)
        if not mo:
            continue
        TCL_root = "/System/Library/Frameworks/Tcl.framework/Versions/Current"
        TK_root = "/System/Library/Frameworks/Tk.framework/Versions/Current"
        return TCL_root, TK_root

It is called with binaries equal to:
[('Tk', '/Library/Frameworks/Tk.framework/Versions/8.5/Tk'), ('Tcl', 
'/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl')]

It will always exit with TCL_root = TK_root = None, thus generating the TK not 
found error.  

I've opened a ticket for this issue.

-------------------------------------
Bypassing that issue so that the build can proceed, I get a different error on 
my two different build environments. 

For machine #1:
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to 
open 
/Users/lynn/Documents/python/axeomatic2/pyinstaller/axeomatic/dist/axeomatic/lib/python2.7/config/Makefile
 (No such file or directory)

On machine #1, the python executable  /usr/local/bin/python links to 
/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/bin/python

I understand this is likely to be a problem for Pyinstaller, which is why I 
built machine #2.

For machine #2:
ImportError: 
dlopen(/Users/Lynn/Documents/axeomatic2/pyinstaller/axeomatic/dist/axeomatic/_tkinter.so,
 2): Library not loaded: @executable_path/Tcl
  Referenced from: 
/Users/Lynn/Documents/axeomatic2/pyinstaller/axeomatic/dist/axeomatic/_tkinter.so
  Reason: image not found

I get the same error in 64-bit and 32-bit mode.  What is "_tkinter.so, 2"? 





-- 
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