Bertalan Fodor escreveu:
> Well, that doesn't work in 2.10.0-2, and (according to Rick) in 2.11.x
> 
> Because with that you get the message:
> 
> C:\Program Files\LilyPond\usr\bin>python -v convert-ly -h
> # installing zipimport hook
> import zipimport # builtin
> # installed zipimport hook
> 'import site' failed; traceback:
> ImportError: No module named site
> Python 2.5 (r25:51908, Nov 15 2006, 17:33:18)
> [GCC 4.1.1] on mingw32
> Type "help", "copyright", "credits" or "license" for more information.
> Traceback (most recent call last):
>  File "convert-ly", line 13, in <module>
>    import os
> ImportError: No module named os

ah, the culprit is the upgrade to python 2.5

Strangely enough, this does work under Wine.

# C:\Program Files/LilyPond/usr\lib/python2.5\site.pyc matches C:\Program 
Files/LilyPond/usr\lib/python2.5\site.py
import site # precompiled from C:\Program 
Files/LilyPond/usr\lib/python2.5\site.pyc
# C:\Program Files/LilyPond/usr\lib/python2.5\os.pyc matches C:\Program 
Files/LilyPond/usr\lib/python2.5\os.py
import os # precompiled from C:\Program Files/LilyPond/usr\lib/python2.5\os.pyc
import nt # builtin



Jan, 

do you know how Python 2.4/mingw found out where to locate its modules?


-- 

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to