In article <[EMAIL PROTECTED]>, Fred Leason <[EMAIL PROTECTED]> wrote:
> You explicitly called lilypond-book. I suspect you do not have the > bin directory in your PATH. lilypond-book reads your PATH to find > where lilylib is located. Your path should look like this: > > PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:.:/opt/ > local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/ > bin:/bin:/sbin:/usr/bin:/usr/sbin:/Applications/LilyPond.app/Contents/ > Resources/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple- > darwin-current My PATH variable *does* contain the path to LilyPond.app/Contents/Resources/bin. I find lilylib in LilyPond.app/Contents/Resources/share/lilypond/current/python/ Maybe, some other environment variable must be set? I would like to point out that in previous versions (e.g., 2.8) I used to run lilypond-book in the same way and it worked fine. Nicola > > On Feb 15, 2007, at 11:02 AM, nicola wrote: > > > Hi, > > when executing lilypond-book contained in Lilypond.app (Mac OS X), > > I get > > the following error: > > > > Traceback (most recent call last): > > File > > "/Applications/TeX/LilyPond.app/Contents/Resources/bin/lilypond-book", > > line 44, in ? > > import lilylib as ly > > ImportError: No module named lilylib > > > > Is some file missing from the distribution? > > > > Nicola > > > > > > > > _______________________________________________ > > lilypond-user mailing list > > lilypond-user@gnu.org > > http://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user