[RFC] Python related system prompt "Lyx must be updated" on macOS
Stephan Witt
st.witt at gmx.net
Tue Jan 4 07:16:52 UTC 2022
Am 04.01.2022 um 01:37 schrieb José Abílio Matos <jamatos at lyx.org>:
>
> On Friday, 31 December 2021 13.03.57 WET Stephan Witt wrote:
> > I’m curious how difficult it would be to ignore python2 and present a
> > message box for users to tell them how to get a python3 interpreter.
> >
> > BR, Stephan
>
> For now we always search for Python 3 before Python 2. We know what is the version that we are using. So that warn can be done, but then we probably only want to show it once, or at least have an option to turn it off.
Interestingly on my system the python3 is detected only if I install the Python package from python.org. The python3 in /usr/bin is not tried? Sorry, I didn’t read the code yet.
> Probably the case you want to can be best done through documentation, no?
Yes, at first this is the best option probably.
My question for the future is how to act on next move of Apple. Neither I know when it will happen nor I know what happens. They announced to remove the preinstalled python altogether. ATM they provide python3 as wrapper. It’s asking the user to download and install the Command Line Developer Tools from Apple instead of doing anything useful. The exit status is 1.
Currently LyX is using python (python2) and the warning info pops up once: „LyX needs to be updated“. Obviously this is wrong now. Python3 needs to be installed instead.
So I’ll have to investigate further.
Stephan
More information about the lyx-devel
mailing list