[opensource-dev] Python broken on Lion - autobuild doesn't work

Altair Sythos Memo sythos at gmail.com
Sun Jul 24 11:16:57 PDT 2011


On Sun, 24 Jul 2011 15:13:14 +0200
Laurent Bechir <laurent.bechir at madonie.org> wrote:

> 
> Hello,
> 
> I've just upgraded to Lion and python seems to be broken. I can't use
> either autobuild and git. :
> 
> autobuild
> Traceback (most recent call last):
>   File "/usr/local/bin/autobuild", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 2603, in <module> working_set.require(__requires__) File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 666, in require needed = self.resolve(parse_requirements
> (requirements)) File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 565, in resolve raise DistributionNotFound(req)  # XXX put more
> info here pkg_resources.DistributionNotFound: autobuild==0.8.5
> 
> And Xcode is suddenly half english, half eastern language...
> 
> 
> Perhaps installing the new version of Xcode would solve the problem ?
> But I don't know if I can still build Second Life viewer with Xcode
> 4.1.

Lion is shipped with Pythn2.7, you need to install "by hand" from
python homepage 2.6 package for macosx and modify your autobuild script
(text editor) changing first line from trailing "python" to "python-2.6"


More information about the opensource-dev mailing list