Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-19 Thread Dr Eberhard W Lisse

2.3.6.2 works on my 12.3.1 (x86 and arm)

I use hombrew's python but the stub will also work because homebrew
will ask for the Command Line Tools anyway :-)-O

el

On 2022-04-19 11:46 , Stephan Witt wrote:
[...]
> LyX is trying to use python3 while looking for python.  This one
> (/usr/bin/python3) is present for a long time and a stub to ask for
> install of it.  The real python3 is part of the developer tools and
> can be download from Apple freely.  Of course other alternatives are
> available.  The „official“ one from python.org or the python from
> homebrew or macports.
>
> What the best choice for the user is depends on its background, IMO.
[...]
> Currently I have Monterey 12.1 with MacTeX and LyX 2.3.6.2 up and
> running.  Next step is the update to 12.3.1 …
>
> Stephan

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


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-19 Thread Stephan Witt
Am 19.04.2022 um 11:12 schrieb Pavel Sanda via lyx-users 
:
> 
> On Tue, Apr 19, 2022 at 08:10:30AM +0200, Stephan Witt wrote:
 Now you have to install Python yourself. You may download it from 
 python.org (https://www.python.org/downloads/macos/). Alternatively you 
 may run python in a terminal window and choose to install it from Apple. I 
 recommend the first option.
>>> 
>>> Not sure if I understand it correctly - any up to date mac system won't run 
>>> lyx 2.3.6.2 (or rather its pythonic parts) anymore?
>>> If this is the case we should add some info directly to 
>>> https://www.lyx.org/Download ?
>> 
>> Yes, that would be appropriate. 
> 
> We should probably do that, I don't understand the details to write it on my 
> own though.

The only hard fact is the removal of /usr/bin/python (and all the libraries and 
eggs). So there is no out-of-the-box python anymore.

LyX is trying to use python3 while looking for python. This one 
(/usr/bin/python3) is present for a long time and a stub to ask for install of 
it. The real python3 is part of the developer tools and can be download from 
Apple freely. Of course other alternatives are available. The „official“ one 
from python.org or the python from homebrew or macports.

What the best choice for the user is depends on its background, IMO.

>> At the time macOS 12 (Monterey) came out I verified the presence of python. 
>> It was there and had version 2.7.18. While the installation of macOS update 
>> to 12.3 the python installation will be removed.
>> 
>> Apple provides python3 but it is not preinstalled anymore. There is only a 
>> stub executable asking for download and installation of it:
>> 
>> On reconfigure LyX checks for a usable python and triggers the popup window 
>> with the opportunity to install python3. If the user responds with 
>> ???Install??? and the download and install succeeds LyX has to be restarted 
>> and is usable after reconfigure.
>> 
>> I didn???t try yet how it goes if an existing LyX installation looses the 
>> python executable. I want to try that next. But all these experiments are 
>> time consuming as I have to do them in virtual machines.
> 
> I have mac with 12.1 on my desk, which I avoid touching. It has some older 
> version of LyX with both python 2 & 3 installed as I just checked.
> Is there something I can do for you?

Thank you, but I think the time consuming option with virtual machines is the 
better one.

Currently I have Monterey 12.1 with MacTeX and LyX 2.3.6.2 up and running. Next 
step is the update to 12.3.1 …

Stephan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-19 Thread Pavel Sanda via lyx-users
On Tue, Apr 19, 2022 at 08:10:30AM +0200, Stephan Witt wrote:
> >> Now you have to install Python yourself. You may download it from 
> >> python.org (https://www.python.org/downloads/macos/). Alternatively you 
> >> may run python in a terminal window and choose to install it from Apple. I 
> >> recommend the first option.
> > 
> > Not sure if I understand it correctly - any up to date mac system won't run 
> > lyx 2.3.6.2 (or rather its pythonic parts) anymore?
> > If this is the case we should add some info directly to 
> > https://www.lyx.org/Download ?
> 
> Yes, that would be appropriate. 

We should probably do that, I don't understand the details to write it on my 
own though.

> At the time macOS 12 (Monterey) came out I verified the presence of python. 
> It was there and had version 2.7.18. While the installation of macOS update 
> to 12.3 the python installation will be removed.
> 
> Apple provides python3 but it is not preinstalled anymore. There is only a 
> stub executable asking for download and installation of it:
> 
> On reconfigure LyX checks for a usable python and triggers the popup window 
> with the opportunity to install python3. If the user responds with 
> ???Install??? and the download and install succeeds LyX has to be restarted 
> and is usable after reconfigure.
> 
> I didn???t try yet how it goes if an existing LyX installation looses the 
> python executable. I want to try that next. But all these experiments are 
> time consuming as I have to do them in virtual machines.

I have mac with 12.1 on my desk, which I avoid touching. It has some older 
version of LyX with both python 2 & 3 installed as I just checked.
Is there something I can do for you?

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-18 Thread Pavel Sanda via lyx-users
On Sun, Apr 17, 2022 at 10:21:42AM +0200, Stephan Witt wrote:
> Apple finally removed Python 2 in macOS 12.3 - sorry for LyX not being 
> prepared. At the time LyX 2.3.6.2 was built it was announced already but not 
> sure when it happens.
> 
> Now you have to install Python yourself. You may download it from python.org 
> (https://www.python.org/downloads/macos/). Alternatively you may run python 
> in a terminal window and choose to install it from Apple. I recommend the 
> first option.

Not sure if I understand it correctly - any up to date mac system won't run lyx 
2.3.6.2 (or rather its pythonic parts) anymore?
If this is the case we should add some info directly to 
https://www.lyx.org/Download ?

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-18 Thread Dr Eberhard Lisse

On the Mac I STRONGLY recommend using homebrew's python as it will
be updated any time you do a 'brew update'.

el


On 2022-04-17 10:21 , Stephan Witt wrote:

Am 16.04.2022 um 01:52 schrieb gelfand :


Just upgraded (from Mohave!) and when attempt to open any LyX 2.2 and earlier 
get lyx2lyx script failed to convert. Also when attempt to reconfigure get 
system reconfiguration failed.

Did see the warning message when first launching LyX that in future OS versions 
the application will no longer run and should be updated.

Running LyX 2.3.6.2 on Intel Mac with OS 12.3.1


Apple finally removed Python 2 in macOS 12.3 - sorry for LyX not being 
prepared. At the time LyX 2.3.6.2 was built it was announced already but not 
sure when it happens.

Now you have to install Python yourself. You may download it from python.org 
(https://www.python.org/downloads/macos/). Alternatively you may run python in 
a terminal window and choose to install it from Apple. I recommend the first 
option.

BR, Stephan



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


Re: MacOS 12.3.1 (Monterey) lyx2lyx script fails to convert

2022-04-17 Thread Stephan Witt
Am 16.04.2022 um 01:52 schrieb gelfand :
> 
> Just upgraded (from Mohave!) and when attempt to open any LyX 2.2 and earlier 
> get lyx2lyx script failed to convert. Also when attempt to reconfigure get 
> system reconfiguration failed.
> 
> Did see the warning message when first launching LyX that in future OS 
> versions the application will no longer run and should be updated.
> 
> Running LyX 2.3.6.2 on Intel Mac with OS 12.3.1

Apple finally removed Python 2 in macOS 12.3 - sorry for LyX not being 
prepared. At the time LyX 2.3.6.2 was built it was announced already but not 
sure when it happens.

Now you have to install Python yourself. You may download it from python.org 
(https://www.python.org/downloads/macos/). Alternatively you may run python in 
a terminal window and choose to install it from Apple. I recommend the first 
option.

BR, Stephan
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users