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 -- View this message in context: http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157191.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