View previous topic :: View next topic |
Author |
Message |
qlb1234 n00b
Joined: 23 Aug 2016 Posts: 7
|
Posted: Thu Jul 12, 2018 3:52 am Post subject: "python3.7" missing in "eselect python list&q |
|
|
Hi.
I want to use python3.7 by default but it's still in testing stage so I
Code: | #package.accept_keywords
dev-lang/python ~amd64 |
so that
would install Python 3.7. After the successful emerging, I ran
Code: | eselect python list |
but it only shows
Code: | Available Python interpreters, in order of preference:
[1] python3.6
[2] python3.5
[3] python2.7 (fallback) |
I can run
Code: | $ python3.7
Python 3.7.0 (default, Jul 12 2018, 11:40:06)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> |
with no problem. But the command "python" still invokes python3.6 by default.
Question: What is going wrong? How can I use python3.7 by default? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Thu Jul 12, 2018 6:05 am Post subject: |
|
|
Try to add python3.7 in /etc/python-exec/python-exec.conf.
I'm not sure if the work set action.
eselect python check python version or with command python-exec2c -l (available) or reading /etc/python-exec/python-exec.conf file (preferred) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 724 Location: /home
|
Posted: Thu Jul 12, 2018 6:15 am Post subject: |
|
|
You might need to re-emerge eselect-python.
Python3.7 support hasn't been added to any ebuilds yet, so maybe they are just testing that it builds and it's not supposed to be used yet? (Maybe it's not supported yet in Gentoo packages, but works locally) |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Thu Jul 12, 2018 6:17 am Post subject: |
|
|
Even though you add 'python3.7' with Code: | eselect python edit | it shows up as '(uninstalled)' if you check it with Code: | eselect python list |
|
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
vovan47 n00b
Joined: 21 Nov 2018 Posts: 41
|
Posted: Thu Dec 03, 2020 7:57 am Post subject: |
|
|
Quote: | root #eselect python cleanup
|
Does the trick, as it's described in Python wiki page |
|
Back to top |
|
|
|