|
From: | Fred Leason |
Subject: | Re: Lilypond 2.10.17-1: lilypond-book ImportError |
Date: | Fri, 16 Feb 2007 11:54:50 -0600 |
Nicola: I know I had the same problem before. It may be a problem with the distribution of 2.10.17-1. I am using 2.11.13. Open up lilypond-book and look for the code that precedes the "import lilylib as ly". Mine looks like this: os.environ['PATH'] = bindir + os.pathsep + os.environ['PATH'] for p in ['share', 'lib']: datadir = os.path.abspath (bindir + '/../%s/lilypond/current/python/' % p) sys.path.insert (0, datadir) import lilylib as ly It is adding LilyPond.app/Contents/Resources/share/lilypond/current/python/ You could either eliminate the space, or put the lilypond/current/python/ directly in your path. Or, I know it works in 2.11.13. Good luck. On Feb 16, 2007, at 3:07 AM, nicola wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |