macOS python issue

Stephan Witt st.witt at gmx.net
Wed Jan 4 11:53:46 UTC 2023


Am 03.01.2023 um 10:36 schrieb Stephan Witt <st.witt at gmx.net>:
> Am 03.01.2023 um 10:29 schrieb Pavel Sanda <sanda at lyx.org>:
>> 
>> On Tue, Jan 03, 2023 at 10:20:22AM +0100, Stephan Witt wrote:
>>> Now I???ve reduced the image sizes to reduce the screen clutter.
>>> 
>>> Do you think it is ok?
>> 
>> Looks fine to me. 
>> 
>> What might be good to put at the begining some (textual) examples how missing python 
>> displays itself (can't convert older lyx files, can't reconfigure, can't load images, etc...)
>> so users can associate these problems with python missing.
> 
> Ok, I’ll make it.
> 
>> The real solutions though is IMHO to detect python presence and issues warning for installation…
> 
> Yes, that I’ll try to do - I have some ideas now.

Hi all,

finally - although late in the game - I came up with a proposal to solve the problem with missing python on macOS.

It’s described here: https://www.lyx.org/trac/ticket/12523 and in more depth here: https://wiki.lyx.org/Mac/Mac

Please see the attached patch. You may wonder why there is no mac specific code. 
I think it’s not needed as the problem isn’t specific to the OS or platform.
It is very unlikely to happen on Linux systems as most of them has package managers 
and if the dependencies are correct there is no problem like that.

Probably the message text of the new Alert box should be reworded.

If the solution looks right I’d like to see it in 2.3.8 too.

Stephan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: macos-python.patch
Type: application/octet-stream
Size: 2950 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230104/c8504610/attachment.obj>


More information about the lyx-devel mailing list