Why is convert-ly.py located inside your project directory? That is likely
the source of your issues. My recommendation is delete your Lilypond 2.24
installation and revert any manually moved or copied libraries or scripts,
then download Lilypond 2.24 again, extract it, and move the entire folder
as-is to your preferred install location. For my Windows machine, I use
C:\Program Files\Lilypond\ for all my Lilypond installations, and I rename
each version from lilypond-2.25.20 (for example) to simply 2.25.20.

convert-ly should work fine when run from its default location within the
Lilypond installation. If after reinstalling Lilypond you still get this
type of issue, likely it is due to your PATH including
only lilypond-2.24.4\bin. I would try changing that to the entire lilypond
install directory, not just \bin.

It's been mentioned in other replies that it's easier to run convert-ly
from within Frescobaldi. For a while at least. convert-ly was broken when
run from Frescobaldi on Windows. I'm not sure if that is still true.

Best of luck,

Saul

On Sun, Jan 19, 2025 at 9:25 AM Jenifer Tribe <jonathan_tr...@hotmail.com>
wrote:

> I have installed this after hanging on to 2.18.2 for years.
> When I run convert.ly I get the following..
>
>   File "C:\Users\jenny\Documents\Music\Lilypond\Isaac\Coralis C\Pentecost
> XVIII Communion\convert-ly.py", line 82, in <module>
>     import convertrules
> ModuleNotFoundError: No module named 'convertrules'
>
> I set my environment to find everything in the bin directory:
> Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program
> Files\dotnet\;C:\Program Files (x86)\Lilypond\lilypond-2.24.4\bin;
>
> I also have the python310.dll in lilypond\usr\bin, and a copy in the
> directory I'm trying to convert. Is there an obvious setup problem? I'm on
> Windows 11, which I hope isn't an issue.
>
> I'm hoping this is well known and trivial!!
> Jonathan
>
>
>

Reply via email to