From 1c523bf8acd1d554efa4b6211420185f2b66ec36 Mon Sep 17 00:00:00 2001 From: Achal Shah Date: Thu, 14 Apr 2022 16:43:19 -0700 Subject: [PATCH] fix: Update build_go_protos to use a consistent python path (#2550) 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 7efbfe947d..af6eaea311 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 @@ -355,7 +356,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={