On 06/19/2010 07:55 AM, meino.cra...@gmx.de wrote:
walt<w41...@gmail.com>  [10-06-19 16:48]:
On 06/19/2010 12:37 AM, 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>

Have you set eselect python to use python-3 instead of python-2?  If
so,
try setting it back to python-2.



No, python 2.6 ist set according to the output of

     eselect python list

python 3.1 is installed but not selected.

Just for fun, try re-emerging app-admin/eselect-python and use it to
select python3 and then go back to python2 again.

This is just guesswork.  I'm not sure if the installer for setuptools is
actually using the right version of refactor.py.  Maybe it should be using
the python2 version of refactor?  Dunno.  Can't hurt to try it.



Reply via email to