[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly, musicxml2ly, etc. problems
From: |
Han-Wen Nienhuys |
Subject: |
Re: convert-ly, musicxml2ly, etc. problems |
Date: |
Fri, 01 Dec 2006 15:07:58 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061107) |
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 - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
- Re: convert-ly, musicxml2ly, etc. problems,
Han-Wen Nienhuys <=