|
From: | Fred Leason |
Subject: | Re: "No module named lilylib" |
Date: | Sun, 25 Feb 2007 21:30:11 -0600 |
$sudo find /Applications/LilyPond.app/ -name "lilylib.py" -print/Applications/LilyPond.app//Contents/Resources/share/lilypond/current/ python/lilylib.py
$grep "lilypond/current" /Applications/LilyPond.app/Contents/ Resources/bin/lilypond-book datadir = os.path.abspath (bindir + '/../%s/lilypond/current/ python/' % p)
Fred Leason On Feb 25, 2007, at 3:37 PM, Davide Benini wrote:
I have had a look at the message, and scanned the mailing list for similar stuff, but none apply to my case. The code indicated in the linked page is nowhere in the lilypond folder (I scanned it with a global textmate search): I tried to add the suggested path tp my path; here my $PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/texbin:/usr/local/bin:/ Applications/LilyPond.app/Contents/Resources/bin:/Applications/ LilyPond.app/Contents/Resources/share/lilypond/current/python/:/sw:/ sw/bin:/usr/local/bin:/Users/davidebenini/.miktex/tex/latex/I also tried to add and eliminate the slash after the bin and python directory, just in in case. Yet I get the very same error:computer-di-patrizia-benini:~/Documents/Universitas/Dottorato/ thesis/final-latin davidebenini$ lilypond-book --pdf --format=latex --output=finalOutput joyce.texTraceback (most recent call last): File "/Applications/LilyPond.app/Contents/Resources/bin/lilypond- book", line 44, in ?import lilylib as ly ImportError: No module named lilylib Any suggestion? Thanks in advance, DavideFrom: Mats Bengtsson <address@hidden>See http://article.gmane.org/gmane.comp.gnu.lilypond.general/28264/ match=lilyliband several similar emails in the mailing list archives. /Mats Davide Benini wrote:Hello folks.I am using using lilypond-book to embed some music fragments in a latex document. So far I had been using lilypond on a powerpc mac, and everything went smooth. Now I had to switch to an Intel mac, an things are not working. I am using lilypond 2.10.19-1I launch lilypond-book with this command lilypond-book --pdf --format=latex --output=finalOutput joyce.tex and I get this log: Traceback (most recent call last):File "/Applications/LilyPond.app/Contents/Resources/bin/lilypond- book", line 44, in ?import lilylib as ly ImportError: No module named lilylibQuite weirdly, I get the same error with lilypond-book without any argument or option.I guess this has something ti do with paths, althoughI have already added /Applications/LilyPond.app/Contents/Resources/bin to my bash $PATH.Any suggestion? Cheers, Davide _________________________________________________________________Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/ direct/01/_______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: address@hidden WWW: http://www.s3.kth.se/~mabe =============================================_________________________________________________________________Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/_______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |