Alex Loomis-2 wrote > Have you tried upgrading to 2.18? It's possible that if the issue is with > musicxml2ly that it has been fixed. > > > > On Jan 5, 2014, at 4:42 PM, TaoCG <
> tao_lilyponduser@ > > wrote: > >> TaoCG wrote >>> >>> Phil Holmes-2 wrote >>>> ----- Original Message ----- >>>> From: "TaoCG" < >> >>>> tao_lilyponduser@ >> >>>> > >>>> To: < >> >>>> lilypond-user@ >> >>>> > >>>> Sent: Sunday, January 05, 2014 3:32 PM >>>> Subject: Re: musicxml2ly on Windows >>>> >>>> >>>>> Phil Holmes-2 wrote >>>>>> ----- Original Message ----- >>>>>> From: "TaoCG" < >>>>> >>>>>> tao_lilyponduser@ >>>>> >>>>>> > >>>>>> To: < >>>>> >>>>>> lilypond-user@ >>>>> >>>>>> > >>>>>> Sent: Sunday, January 05, 2014 2:40 PM >>>>>> Subject: musicxml2ly on Windows >>>>>> >>>>>> >>>>>>> Dear all, >>>>>>> >>>>>>> what would be the best way to invoke musicxml2ly on Windows when >>>>>>> there >>>>>>> is >>>>>>> also a Python 3 installation. >>>>>>> When I try to run it with the python that comes with lilypond like >>>>>>> this >>>>>>> >>>>>>> python.exe musicxml2ly.py test.xml >>>>>>> >>>>>>> I get this error: >>>>>>> Could not find platform independent libraries >>>>>> >>>> > <prefix> >>>>>>> Could not find platform dependent libraries >>>>>> >>>> > <exec_prefix> >>>>>>> Consider setting $PYTHONHOME to >>>>>> >>>> > <prefix> >>>>>> [: >>>>>> >>>> > <exec_prefix> >>>>>> ] >>>>>>> 'import site' failed; use -v for traceback >>>>>>> Traceback (most recent call last): >>>>>>> File "musicxml2ly.py", line 3, in ? >>>>>>> import optparse >>>>>>> ImportError: No module named optparse >>>>>>> >>>>>>> This is with Lilypond 2.16 >>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> Tao >>>>>> >>>>>> >>>>>> What directory are you running the command from? What does your PATH >>>>>> statement look like? >>>>>> >>>>>> -- >>>>>> Phil Holmes >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> lilypond-user mailing list >>>>> >>>>>> lilypond-user@ >>>>> >>>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>>>> >>>>> I ran it from C:\Program Files (x86)\Lilypond\usr\bin >>>>> and my Path is: >>>>> C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program >>>>> Files (x86)\QT Lite\QTSystem >>>> >>>> >>>> OK. What does python -V give you? >>>> >>>> -- >>>> Phil Holmes >>>> >>>> >>>> _______________________________________________ >>>> lilypond-user mailing list >> >>>> lilypond-user@ >> >>>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>> From lilypond\usr\bin >>> Python 2.4.5 >>> >>> from everywhere else >>> Python 3.3.2 >> >> Hmm... I tried replacing the python3-directory with the lily\usr\bin\ and >> now I get this error: >> >> File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2105 >> if current_staff and staff <> current_staff and not >> n.get_maybe_exist_named_child ('chord'): >> ^ >> SyntaxError: invalid syntax >> >> >> These brackets sure look strange. Is this an error in musicxml2ly? >> >> >> >> >> -- >> View this message in context: >> http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157204.html >> Sent from the User mailing list archive at Nabble.com. >> >> _______________________________________________ >> lilypond-user mailing list >> > lilypond-user@ >> https://lists.gnu.org/mailman/listinfo/lilypond-user > > _______________________________________________ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user I haven't yet. I got it working with a virtual linuxbox running LP 2.16. -- View this message in context: http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157289.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user