Adam Carter <[email protected]> writes:
>> Just installing it doesn't break portage. But using it does! :)
>>
>> 19:14:44 poke:~ $ eselect python list
>> Available python interpreters:
>> [1] python2.6
>> [2] python3.1
>> 19:17:24 poke:~ $ sudo eselect python set 2
>> 19:17:31 poke:~ $ emerge --info
>> File "/usr/bin/emerge", line 41
>> except PermissionDenied, e:
>> ^
>> SyntaxError: invalid syntax
>
> Did you try it as root? Is your user in the portage group?
Yes, and yes.
02:03:10 poke:~ $eselect python list
Available python interpreters:
[1] python2.6
[2] python3.1
02:22:30 poke:~ $sudo eselect python set 2
02:22:39 poke:~ $sudo emerge --info
File "/usr/bin/emerge", line 41
except PermissionDenied, e:
^
SyntaxError: invalid syntax
02:22:50 poke:~ $id
uid=1001(che) gid=100(users)
groups=4(adm),10(wheel),16(cron),18(audio),19(cdrom),27(video),35(games),81(apache),100(users),250(portage)
I think that the comma on line 41 in /usr/bin/emerge is simply not valid
in python-3