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 <nos...@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_em...@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 > [...] -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel