Once again I started from scratch with a simple program and added imports until 
it broke the pyinstaller build.  The first import to cause an issue was 
scikits.samplerate, which is not listed as supported and is not found when 
searching the active tickets.

No complaints from the build, but when I run the executable I get:

File 
"/Users/lynn/Documents/python/axeomatic2/pyinstaller/testbuild/build/pyi.darwin/testbuild/out03-PYZ.pyz/distutils.sysconfig",
 line 370, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to 
open 
/Users/lynn/Documents/python/axeomatic2/pyinstaller/testbuild/dist/testbuild/lib/python2.7/config/Makefile
 (No such file or directory)

I have no idea why pyinstaller thinks there would be a 
lib/python2.7/config/Makefile in the dist directory..  Running python in 
verbose mode gives a bunch of successful imports followed by the exact same 
error.  It appears that none of the scikits.samplerate imports occur before the 
error.

Looking at the included hook files, other than the one for _tkinter they are 
all quite simple and basically deal with hidden imports.  I wouldn't be 
surprised if there are hidden imports involved here, but when I simply run 
python -v and do the samplerate import, I get 312 lines of stuff but nothing 
about a makefile.

Just to make things more interesting, I still get the Tcl/Tk errors if I try to 
build a onefile executable, so I'm avoiding that by using a patched 
hook-_tkinter.py file and not using the onefile option.

Given that I've spent way too much time on this, I have to take a step back and 
ask...  Is this beyond the scope of what a typical user can expect to get 
pyinstaller to do?

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