Lynn Oliver píše v Ne 11. 03. 2012 v 21:53 -0700:
> Building in debug mode and running the resulting app gives me, as you
> might expect: ImportError:
> dlopen(/var/folders/qq/h5gj3f3s0rx41lhd7h0lt2hm0000gn/T/_MEIlWWvbW/_tkinter.so,
>  2): Library not loaded: @executable_path/Tcl
> 
> Looking at sys.path, I
> see: 
> /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
>  
> 
> Which pyinstaller module is issuing the "ERROR: could not find TCL/TK"
> message?

Function find_tk_darwin is looking only in system wide Tcl/Tk
installation. Not in the paths from Homebrew / Macports or similar
packaging systems.

This has to be probably fixed to work with python from Homebrew /
Macports.

PyInstaller/hooks/hook-_tkinter.py
                                                                                
                                                                                
          
 37         TCL_root =
"/System/Library/Frameworks/Tcl.framework/Versions/Current"                     
                                                                                
                            
 38         TK_root =
"/System/Library/Frameworks/Tk.framework/Versions/Current"                      
                                                                                
                                  



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