On Tue, Jun 30, 2009 at 3:05 PM, James E. Bailey<derhindem...@googlemail.com> wrote: > > 10.4.11 Intel. GUI and convert-ly work. > lilypond-book fails because of python. Also, updating lilypond-book with > either #!/path/to/python or #!/usr/bin/env python gives me this error: > 23:59:46 jamesebailey lilypond > snippets:~/Downloads/LilyPond.app/Contents/Resources/bin/lilypond-book > lilybook_test.lytex > /Users/jamesebailey/Downloads/LilyPond.app/Contents/Resources/bin/lilypond-book:32: > DeprecationWarning: the md5 module is deprecated; use hashlib instead > import md5 > Traceback (most recent call last): > File > "/Users/jamesebailey/Downloads/LilyPond.app/Contents/Resources/bin/lilypond-book", > line 32, in <module> > import md5 > File "/Users/jamesebailey/lib/python2.6/md5.py", line 10, in <module> > from hashlib import md5 > File "/Users/jamesebailey/lib/python2.6/hashlib.py", line 136, in <module> > md5 = __get_builtin_constructor('md5') > File "/Users/jamesebailey/lib/python2.6/hashlib.py", line 63, in > __get_builtin_constructor > import _md5 > ImportError: No module named _md5 > I don't know if it's something I lack in my *extremely* minimal python > installation, but if it's important: > 00:03:11 jamesebailey lilypond snippets:python -V > Python 2.6.2 > and > 00:01:20 jamesebailey Downloads:which python > /Users/jamesebailey/bin/python
Hmm. You should have a couple of files in your installation: "md5.pyc" and "md5.pyo". On this machine (10.5.6), they are here: /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/md5.pyc /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/md5.pyo None of the other Python scripts use the md5 library, so that's probably why, for example, convert-ly works for you. -Patrick _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel