On Wed, Jan 05, 2022 at 12:27:25PM +0000, José Abílio Matos wrote:
> 
> On Tuesday, 4 January 2022 08.53.46 WET Enrico Forestieri wrote:
> > I disagree. It should return the first usable version found first in
> > PATH. The user has to be in control of what version has to be run, not
> > the software.
> 
> I understand what you say, and I agree, but that is precisely what we are 
> doing now. We are choosing the python path based on some criteria 
> automatically.

What I mean is that, currently, you can adjust the PATH and make LyX
choose the version you want that meets those criteria (python 3).
If you have python 3.6 and python 3.9 but, for some reason, you want to
use python 3.6, you can do that. On the contrary, if you force using
python 3.9, the user has no control. For example, the user may have the
python-pygmemts package installed for python 3.6 but not for python 3.9.

> What I would like to have would be a way to configure this. Probably even if 
> you do not expose this in the graphical interface, only on the preferences 
> file.
> 
> What do you think?

I think that this is precisely what you can do now. Put a link to the
python version you want to use earlier in the PATH and that's it.

-- 
Enrico
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to