Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python update question
Date: Fri, 02 Mar 2012 19:00:47
Message-Id: CAK2H+eeDCJkbmrmybPhJATXxqZWiyeqL47K5ky8KKLMYBtjh8Q@mail.gmail.com
In Reply to: Re: [gentoo-user] Python update question by Dale
1 On Fri, Mar 2, 2012 at 10:20 AM, Dale <rdalek1967@×××××.com> wrote:
2 > Mark Knecht wrote:
3 >> On Fri, Mar 2, 2012 at 3:36 AM, Dale <rdalek1967@×××××.com> wrote:
4 >>> Howdy,
5 >>>
6 >>> I'm just wanting to make certain I don't break my rig.  Info first:
7 >>>
8 >>> root@fireball / # eselect python list
9 >>> Available Python interpreters:
10 >>>  [1]   python2.7 *
11 >>>  [2]   python3.1
12 >>>  [3]   python3.2
13 >>> root@fireball / #
14 >>>
15 >>> I ran --depclean and it wants to remove python 3.1.  I ran python
16 >>> updater and recompiled the needed packages.  Since python 2.7 is the
17 >>> default python, is it safe to remove python 3.1?  As we all know, python
18 >>> and portage is really good friends and portage gets real upset when it
19 >>> looses its friend.  I'd much rather ask this question than have to start
20 >>> a thread on how to repair python with a dead portage.
21 >>>
22 >>> So, safe to remove?  I'm thinking it is but just want the comfort of
23 >>> taking someone else with me it is breaks.  lol
24 >>>
25 >>> Dale
26 >>>
27 >>
28 >> You should be safe but please do an
29 >>
30 >> eselect python list --python3
31 >>
32 >> and make sure you're set to 3.2 before removing 3.1.
33 >>
34 >> HTH,
35 >> Mark
36 >>
37 >>
38 >
39 >
40 > Last I heard we are not supposed to set python to 3 anything.  Has that
41 > changed?
42 >
43 > Dale
44 >
45
46 No, we're not supposed to set the *system* *default* to python3 yet.
47 Still, if you have multiple 3.x versions installed you would want to
48 set the python3 setting to the python version you want to default to
49 should some program absolutely require python3, so we've got 3 real
50 settings:
51
52 System default - still python-2.x
53 Python2 - same python-2.x version as the system default
54 Python3 - what ever version you want for programs requiring Python3
55
56 HTH,
57 Mark

Replies

Subject Author
Re: [gentoo-user] Python update question Dale <rdalek1967@×××××.com>