|
From: | Aaron Hill |
Subject: | Re: run error Lilypond-book on Windows 10 |
Date: | Fri, 06 Aug 2021 08:55:38 -0700 |
User-agent: | Roundcube Webmail/1.4.9 |
On 2021-08-06 8:46 am, Archer Endrich wrote:
[ . . . ] C:\P3L\lpbk>lilypond-book --output=out --pdf ALMdurasnumber.lytex File "C:\Lilypond2221\usr\bin\lilypond-book.py", line 376 except subprocess.CalledProcessError as e: ^ SyntaxError: invalid syntax [ . . . ] Perhaps someone could check out line 376 for me. Thanks again.
The error message clearly indicates this is invalid syntax for the version of Python you are running. In particular, "as" is not valid prior to 2.6 according to [1].
[1]: https://stackoverflow.com/questions/2535760/python-try-except-comma-vs-as-in-except#2535770
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |