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
I do this by adding the following two lines to my /etc/profile file:
PATH="$PATH:/Applications/LilyPond.app/Contents/Resources/bin"
export PATH
There are more elegant ways of doing this, but this works. Good luck!
Fred Leason
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