[Distutils] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resou rces.pyc' does not exist

Phillip J. Eby pje at telecommunity.com
Wed Mar 5 14:28:26 CET 2008


At 09:00 AM 3/5/2008 +0100, Lukáš 'Spike' Polívka wrote:
>Traceback (most recent call last):   File 
>"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", 
>line 548, in _run     self.run_normal()   File 
>"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", 
>line 619, in run_normal     self.create_binaries(py_files, pkgdirs, 
>extensions, loader_files)   File 
>"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", 
>line 683, in create_binaries     dry_run=self.dry_run)   File 
>"/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/util.py", 
>line 176, in byte_compile     spawn(cmd, verbose=verbose, 
>dry_run=dry_run)   File 
>"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/spawn.py", 
>line 37, in spawn     _spawn_posix(cmd, search_path, 
>dry_run=dry_run)   File 
>"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/spawn.py", 
>line 167, in _spawn_posix     (cmd[0], exit_status) 
>DistutilsExecError: command 
>'/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python' 
>failed with exit status 1 > 
>/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/spawn.py(167)_spawn_posix() 
>

This error appears to indicate that py2app is having trouble creating 
a .pyc or .pyo file, due to not being able to run 
"/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python".



More information about the Distutils-SIG mailing list