[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help: can't invoke lilypond-book (python exception)
From: |
David Kastrup |
Subject: |
Re: Help: can't invoke lilypond-book (python exception) |
Date: |
Wed, 12 Feb 2020 13:56:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Alon Sho'er <address@hidden> writes:
> I downloaded python to be able to run lilypond-book, but it doesn't seem to
> work.
>
> Upon invoking lilypond-book I get the following error:
>
>
>
> File "C:\Program Files (x86)\LilyPond\usr\bin\lilypond-book.py", line 590
> os.mkdir (global_options.output_dir, 0777)
> ^
> SyntaxError: leading zeros in decimal integer literals are not permitted; use
> an 0o prefix for
> octal integers
>
> Has anyone experienced this? I would like to use lilypond-book on html files.
>
> I have lilypond version 2.18.2 and python version 3.8.1
LilyPond 2.18 uses Python 2. So will LilyPond 2.20 (to appear really
soon now). LilyPond 2.21 will be working with Python 3.
--
David Kastrup
My replies have a tendency to cause friction. To help mitigating
damage, feel free to forward problematic posts to me adding a subject
like "timeout 1d" (for a suggested timeout of 1 day) or "offensive".