For me the Cmake build (Win 10) isn't working anymore: Python3 is not
found but is is installed and in the path.

After successful compilation und running LyX I get on the LyX-console
the message:

Looking for python 3.x ...
Examining C:/Program Files (x86)/Python37//python3.exe
Looking for python 2.x ...
Warning: No python v2.x or 3.x binary found.

It seems to me that the reason is in the function "python23_call()",
module "os.cpp", in which a batch command-line is generated.
The command-line is the concatenation of the string "python3" and a
string "version_info", yielding:

    python3 -c 'from __future__ import print_function;import sys;
print(sys.version_info[:2], end=\"\")'

This command worked in PowerShell (on my system the result was (3,7)),
but not for the command console "cmd" (I got a syntax error).
For "cmd" I need to substitute the characters ' by the characters ".

The problem for me is to change this for Windows and not to destroy LyX
for other operation systems :-)


Reply via email to