lilypond-user
[Top][All Lists]
Advanced

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

Re: midi2ly on Mac OS X


From: Jim Sizelove
Subject: Re: midi2ly on Mac OS X
Date: Tue, 07 Mar 2006 21:30:59 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Abraham Raher wrote:
> Hello Jim,
>
> Did you ever find the answer to the question you posted?
>
> http://lists.gnu.org/archive/html/lilypond-user/2005-12/msg00221.html
>
> I'm running 2.6.5-1 on Mac OS 10.4.5 ... same problem you cited:
>
> hostname:/Applications/LilyPond.app/Contents/Resources/bin abe$
> ./midi2ly ~/Desktop/05Ciaccona.mid
> Traceback (most recent call last):
>   File "./midi2ly", line 48, in ?
>     import midi
> ImportError: No module named midi
>
> No one appeared to have answered your post, so I thought I'd ask you directly.
>
> thanks!
>
> Abe
>

Here's a solution that works for me. Edit the file, /usr/local/bin/lilypond-script-wrapper.sh so the line that starts "export PYTHONPATH" reads as follows:

export PYTHONPATH="$prefix/share/lilypond/current/python:$prefix/lib/lilypond/2.6.5/python:$PYTHONPATH"

Make sure that the "2.6.5" matches your lilypond version. In my case it is 2.6.4.

Cheers,
Jim





reply via email to

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