Lynn Oliver píše v St 14. 03. 2012 v 00:16 -0700: > 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. >
This could probably mean that pyinstaller is not able to handle frameworks from Mac properly. Files /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl /Library/Frameworks/Tk.framework/Versions/8.5/Tk Should be present in the dist directory. Could you please try to copy these two files to the dist directory and try if your app is running? If your app starts working with these files in the dist directory then please create a bug report for this. I think that the cause is that pyinstaller is collecting only *.dylib files, but not framework files like those 'Tcl' and 'Tk'. These files do not end with .dylib extension. -- 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.
