Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Compilation aborted for setuptools-0.6.12
Date: Sun, 20 Jun 2010 18:03:13
Message-Id: hvlhsv$ra$1@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: Compilation aborted for setuptools-0.6.12 by meino.cramer@gmx.de
1 On 06/19/2010 07:55 AM, meino.cramer@×××.de wrote:
2 > walt<w41ter@×××××.com> [10-06-19 16:48]:
3 >> On 06/19/2010 12:37 AM, meino.cramer@×××.de wrote:
4 >>>
5 >>> Hi,
6 >>>
7 >>> compilation of setuptools-0.6.12 aborts woth:
8 >>> copying tests/api_tests.txt -> build/src/tests
9 >>> Traceback (most recent call last):
10 >>> File "setup.py", line 24, in<module>
11 >>> from lib2to3.main import main
12 >>> File "/usr/lib/python3.1/lib2to3/main.py", line 12, in<module>
13 >>> from . import refactor
14 >>> File "/usr/lib/python3.1/lib2to3/refactor.py", line 25, in<module>
15 >>
16 >> Have you set eselect python to use python-3 instead of python-2? If
17 >> so,
18 >> try setting it back to python-2.
19 >>
20 >>
21 >
22 > No, python 2.6 ist set according to the output of
23 >
24 > eselect python list
25 >
26 > python 3.1 is installed but not selected.
27
28 Just for fun, try re-emerging app-admin/eselect-python and use it to
29 select python3 and then go back to python2 again.
30
31 This is just guesswork. I'm not sure if the installer for setuptools is
32 actually using the right version of refactor.py. Maybe it should be using
33 the python2 version of refactor? Dunno. Can't hurt to try it.

Replies