From ac67f6a5df6df917b69cb249c0d813a14e9f4bc6 Mon Sep 17 00:00:00 2001 From: Achal Shah Date: Thu, 14 Apr 2022 15:42:20 -0700 Subject: [PATCH] fix: Update build_go_protos to use a consistent python path Signed-off-by: Achal Shah --- sdk/python/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/python/setup.py b/sdk/python/setup.py index cc883da95e..dbecd26e2b 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -17,6 +17,7 @@ import re import shutil import subprocess +import sys from distutils.cmd import Command from pathlib import Path from subprocess import CalledProcessError @@ -356,7 +357,8 @@ def _compile_embedded_lib(self): "-output", "feast/embedded_go/lib", "-vm", - "python3", + # Path of current python executable + sys.executable, "-no-make", "github.com/feast-dev/feast/go/embedded" ], env={