[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: |
nicola |
Subject: |
Re: Lilypond 2.10.17-1: lilypond-book ImportError |
Date: |
Fri, 16 Feb 2007 10:07:04 +0100 |
User-agent: |
MT-NewsWatcher/3.5.2 (PPC Mac OS X) |
In article <address@hidden>,
Fred Leason <address@hidden> 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
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/lilypond-user