Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eselect python cleanup
Date: Mon, 25 Mar 2019 09:04:31
Message-Id: 20190325090416.10e3c17c@digimed.co.uk
In Reply to: Re: [gentoo-user] eselect python cleanup by Mick
1 On Mon, 25 Mar 2019 08:50:09 +0000, Mick wrote:
2
3 > In my system I also only have 2.7 and 3.6 installed:
4 >
5 > $ eselect python list
6 > Available Python interpreters, in order of preference:
7 > [1] python3.6
8 > [2] python2.7 (fallback)
9 >
10 > However, python-exec.conf only contains 3.6 ... from what you're saying
11 > it should contain both? Or are they both present only if you have not
12 > set up a python version with eselect? (I have set python3.6).
13
14 I'm not saying what should be, only what mine is.
15
16 % eselect python list
17 Available Python interpreters, in order of preference:
18 [1] python2.7
19 [2] python3.6 (fallback)
20
21 I set python2.7 as the default because some older python scripts are for
22 python2 but don't specify the version in the shebang. I suspect you are
23 right but you could try setting the default to 2.7 and then back to 3.6
24 to see if that changes the file.
25
26
27 --
28 Neil Bothwick
29
30 Oxymoron: Reagan memoirs.

Replies

Subject Author
Re: [gentoo-user] eselect python cleanup Mick <michaelkintzios@×××××.com>