David Wright <lily...@lionunicorn.co.uk> writes:

> On Sun 22 Mar 2020 at 10:54:29 (+0300), Павел Буданов wrote:
>> I tried to use musicxml2ly from official repository of manjaro linux and
>> get this output:
>> Traceback (most recent call last):
>>   File "/usr/bin/musicxml2ly", line 44, in <module>
>>     import lilylib as ly
>> ImportError: No module named lilylib
>> Then I tried to install lilypond from official cite via shell script. It
>> gives following output:
>>   File "./lilypond/usr/bin/musicxml2ly", line 2264
>>     if current_staff and staff <> current_staff and not
>> n.get_maybe_exist_named_child('chord'):
>>                                 ^
>> SyntaxError: invalid syntax
>
> If you run musicxml2ly from the official repository of manjaro linux,
> it should use the lilypond from the official repository of manjaro
> linux as well.
>
> If your only lilypond is the one downloaded from the "official [s]ite",
> by which I assume you mean lilypond.org, then you should run the
> musicxml2ly that's included in the download.
>
> Both methods include the code to ensure that they use the correct
> version of Python, python2. It looks as if you've circumvented that
> code somehow, and are running python3 instead. I've never run a
> system where "python" means python3, but manjaro/archlinux is one
> of these, so the wrapper is specially important. (Fedora is another.)

For what it's worth, Ubuntu "Focal" seems to have no "python" and you
need to be explicit about whether you want "python2" or "python3".

-- 
David Kastrup

Reply via email to