lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run error Lilypond-book on Windows 10


From: Archer Endrich
Subject: Re: run error Lilypond-book on Windows 10
Date: Fri, 6 Aug 2021 19:22:57 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 06/08/2021 18:32, Knute Snortum wrote:
On Fri, Aug 6, 2021 at 9:35 AM Carl Sorensen <c_sorensen@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]