From a9831716d757fc369779bbdb0b8259ca2b667826 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 11 Feb 2020 13:51:26 +0000 Subject: [PATCH] README.md: set PYTHON2 env for Windows builds Without this the build can fail to find a python27.exe --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1553e0494b6..aecf062357d 100644 --- a/README.md +++ b/README.md @@ -194,6 +194,11 @@ export LIBCLANG_PATH=$(llvm-config --prefix)/lib64 You should change the installation to install the "Add python.exe to Path" feature. +You will also need to set the `PYTHON2` environment variable, e.g., to 'C:\Python27\python.exe' by doing: +``` +setx PYTHON2 "C:\Python27\python.exe" /m +``` + 2. Install Python 3.7 for Windows (https://www.python.org/downloads/release/python-374/). The Windows x86-64 MSI installer is fine. This is required in order to build the JavaScript engine, SpiderMonkey. You will also need to set the `PYTHON3` environment variable, e.g., to 'C:\Python37\python.exe' by doing: