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

Reply via email to