[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond 2.10.17-1: lilypond-book ImportError
From: |
Fred Leason |
Subject: |
Re: Lilypond 2.10.17-1: lilypond-book ImportError |
Date: |
Thu, 15 Feb 2007 22:24:02 -0600 |
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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user