python-exec.conf is not in this equation at all.
I guess I did not read that statement properly: I commented out the two lines in /etc/python-exec/python-exec.conf from my original post. Everything seemed to work fine. Then python3.13 was pushed out via portage but is not the system python. I then tried to run pithos and received:
Code: Select all
Traceback (most recent call last):
File "/usr/bin/pithos", line 8, in <module>
from gi.repository import Gio
ModuleNotFoundError: No module named 'gi'
media-sound/pithos-1.6.2 is a python script launched with
With all lines commented out in python-exec.conf I get:
Code: Select all
$ eselect python list
Available Python interpreters, in order of preference:
[1] python3.13 (fallback)
[2] python3.12 (fallback)
[3] python3.11 (fallback)
So I changed python-exec.conf to:
Which fixes the issue and now have:
Code: Select all
$ eselect python list
Available Python interpreters, in order of preference:
[1] python3.12
[2] python3.13
[3] python3.11
Is modifying /etc/python-exec/python-exec.conf the current Gentoo suggested method of choosing which python3 is run by default?