Gentoo Archives: gentoo-user

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