On 06/08/2021 18:32, Knute Snortum wrote:
On Fri, Aug 6, 2021 at 9:35 AM Carl Sorensen <c_soren...@byu.edu> wrote:
You might check the following:
Is there a python.exe that is somewhere in the path ahead of Lilypond's python?
This can be checked using the Windows "where" command:
C:\> where python
--
Knute Snortum
Thanks. I did this:
C:\>where python
C:\Lilypond2221\usr\bin\python.exe
C:\Users\Archer\AppData\Local\Microsoft\WindowsApps\python.exe
(I ran this this Python from the command line and it said it was version
3.6)
I also downloaded and installed Python3.9. This time when I ran my
batch file, Windows asked if I wanted to open the .ly file with
Python3.9. I said OK. I wonder if it tried to run Python directly.
Anyway, something happened, and then I was back to:
C:\P3L\lpbk>C:\Lilypond2221\usr\bin\lilypond-book --output=out --pdf
ALMdurasnumber.lytex
C:\P3L\lpbk>cd out
C:\P3L\lpbk\out>pdflatex ALMdurasnumber.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.7)
entering extended mode
! I can't find file `ALMdurasnumber.tex'.
<*> ALMdurasnumber.tex
Please type another input file name:
! Emergency stop.
<*> ALMdurasnumber.tex
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.
Terminate batch job (Y/N)? y
with no complaint about "can't access". Maybe my OK re opening with
Python was incorrect.
Still struggling, but very grateful for your help.
Archer