To all whom it may concern,
When installing LyX on a Windows machine with a python 3 distribution already 
in place, LyX may fail to initialize since the python scripts are incompatible.
To resolve this I'm using the following batch file (LyX.bat) to set the 
appropriate environment variable:


@echo off
SETLOCAL
SET pythonpath=C:\Program Files (x86)\LyX16\python;C:\Program Files 
(x86)\LyX16\python\Lib;C:\Program Files (x86)\LyX16\python\Lib\encodings;
start "LyX" "C:\Program Files (x86)\LyX16\bin\LyXLauncher.exe" %1 %2 %3 %4 %5 
%6 %7 %8 %9
ENDLOCAL


Good Luck.

-- 
Ram Kromberg
ramkromb...@mail.com

Reply via email to