[Pythonmac-SIG] py2app DistUtilsPlatformError[Sec=Unclassified]

Aahz aahz at pythoncraft.com
Wed Sep 23 15:22:55 CEST 2009


On Wed, Sep 23, 2009, mathew oakes wrote:
>
> I'm stumped on this:
> 
> When running my app that has built without errors...
> 
> > ...An unexpected error has occured during installation of the main
> > script
> > 
> > DistutilsPlatformError: invalid Python installation: unable to
> > open /Full/Path/To/App.app/Contents/Resources/include/python2.6/pyconfig.h (No such file or directory)
> 
> but python in in the bundle at .../Resources/lib/ and it doesn't have a
> pyconfig header

Ayup, you need to copy it from python2.5 -- pretty annoying.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

gfarber: Thank God, or the belief system of your choice.
pddb: Does human perversity count as a belief system?


More information about the Pythonmac-SIG mailing list