You might want to add something like to the end of your ~/.bashrc

      PLIST="$HOME/Library/LaunchAgents/EDU.hawai.ahm.PATH.plist"
      cat > $PLIST <<EOF
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
      <plist version="1.0">
      <dict>
        <key>Label</key>
        <string>NA.lisse.PATH</string>
        <key>ProgramArguments</key>
        <array>
          <string>sh</string>
          <string>-c</string>
          <string>
          launchctl setenv PATH $PATH
          </string>
        </array>
        <key>RunAtLoad</key>
        <true/>
      </dict>
      </plist>
EOF
      launchctl start "$PLIST"

so that the LyX.app will see the PATH

el



On 2025-04-09 11:29, José Matos wrote:
> On Tue, 2025-04-08 at 10:24 -1000, Anders Host-Madsen wrote:
>> Hello,
>> 
>> I’m trying to run the newest version of LyX on Mac, but it says I have no
>> Python. However, that is not correct. I program in PyCharm and Jupyter
>> notebook. I do not want to install another version of Python. How can I 
>> direct
>> LyX to my version of Python?
>> 
>> Thanks,
>> Anders.
> 
> LyX search for python in the $PATH environment variable, i.e. anything that 
> you
> can call from anywhere in your command line.
> 
> Adding the path location to it should fix this issue.
> 
> Let us know if this helps.
> 
> Regards,


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to