2.4.0~RC1 hangs on macOS

list_email at icloud.com list_email at icloud.com
Thu Jan 25 10:26:17 UTC 2024


I did

ln -s /opt/local/bin/python3 /usr/local/bin/python3

and had the same results _except_ for the _first_ time I tried to run with this link, the OS asked permission to access files in my Documents folder—this is normal these days when running a program for the first time, apparently a part of Apple’s security measures. Subsequent runs did _not_ ask this question, and at that point behavior was the same as before, including the lilypond nonsense output when running from a terminal.

Jerry

> On Jan 24, 2024, at 1:51 AM, Dr Eberhard Lisse <nospam at lisse.NA> wrote:
> 
> An alias is only evaluated by the shell, so you could always either
> 
>   ln -fs /opt/local/bin/python3 /usr/local/bin/python3
>   ln -fs /opt/local/bin/python3 /usr/local/bin/python
> 
> and see if that works.
> 
> There is a way of setting environment variables like PATH with launchctl
> so that Apps can find it but I don't know if that works for aliases.
> 
> And of course you can use the full path of python in the converters
> 
> el
> 
> On 2024-01-24 09:48 , list_email at icloud.com wrote:
>> Thanks, el.
>> 
>> Getting rid of macports for homebrew is not an option for me.
>> 
>> In my profile file, I have this:
>> 
>> alias python=/opt/local/bin/python3
>> 
>> which is macports. Does LyX see this? This alias points to Python 3.9.18. There is a utility to switch to other versions.
>> 
>> I already have the command line tools installed, with Python 3.9.6 at /usr/bin/phython3.
>> 
>> I just now tried switching to this line in my profile file:
>> 
>> alias python=/usr/bin/python3
>> 
>> with the same result.
>> 
>> Remember that LyX 2.3.7 works fine.
>> 
>> Jerry
> [...]



More information about the lyx-devel mailing list