How to make LyX work with Mac OS 13.1:solved

Stephan Witt st.witt at gmx.net
Thu Dec 15 15:05:27 UTC 2022


Am 14.12.2022 um 17:02 schrieb Scott Kostyshak <skostysh at lyx.org>:
> 
> On Wed, Dec 14, 2022 at 05:55:17PM +0200, Dr Eberhard Lisse wrote:
>> Hal,
>> 
>> the command is
>> 
>> 	 sudo xcode-select --install
>> 
>> you will then be asked for your password.
>> 
>> It is a system wide installation of the command line tools (of XCode)
>> and hence must be done as administrator (technically root).
>> 
>> The complete XCode will of course also install python3 but is a few GB
>> too much.
>> 
>> el
> 
> Is there a way from the command line to install only Python on macOS?

AFAIK you can choose either so called „Xcode Command Line Tools“ or „Xcode Developer Package“.

The command line tools include e.g. clang, git and python3 and SDKs. 
The disk image of version 12.2 has 431M and 14.2 has 672M. 
The unpacked files require approximately 2GB..3GB.

Without the command line tools installed there is a small python3 utility only.
The execution of this python3 triggers a popup asking the user for installation of the command line tools.

https://www.lyx.org/trac/ticket/12523

Unfortunately this popup is raised on first python presence check by LyX. 
Shortly after this LyX raises its own popup to tell the user the configuration has failed.
This 2nd popup hides the first one partially and distracts users from the first.

The easiest solution for users would be to allow download and install of the command line
tools by confirmation of the first question, wait until it is finished (it really takes a while)
and restart LyX's configuration.

Stephan


More information about the lyx-users mailing list