On 6/19/10, meino.cra...@gmx.de <meino.cra...@gmx.de> wrote: > > Hi, > > compilation of setuptools-0.6.12 aborts woth: > copying tests/api_tests.txt -> build/src/tests > Traceback (most recent call last): > File "setup.py", line 24, in <module> > from lib2to3.main import main > File "/usr/lib/python3.1/lib2to3/main.py", line 12, in <module> > from . import refactor > File "/usr/lib/python3.1/lib2to3/refactor.py", line 25, in <module> > from . import pytree, pygram > File "/usr/lib/python3.1/lib2to3/pygram.py", line 35, in <module> > del python_grammar_no_print_statement.keywords["print"] > KeyError: 'print'
Over here it seems to run a piece printing out messages starting with "RefactoringTool:" where it fails for you. AFAICT, 2to3-refactoring stuff is part of dev-lang/python package itself. So, I wonder if "emerge -1 python:2.6" would help? (Or grabbing a pre-compiled binary from tinderbox.dev.gentoo.org if the emerge fails.) -- Arttu V.