From ecc243fc69e2b66aa249981ed663d0346e79df47 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Tue, 15 Feb 2022 11:27:40 -0500 Subject: [PATCH] Had to patch this locally to get windows to find pyenv which was already on the PATH. --- pipenv/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 0794df46..6ec8f341 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -1623,7 +1623,7 @@ def find_windows_executable(bin_path, exe_name): if os.path.isfile(path): return path - return find_executable(exe_name) + return shutil.which(exe_name) def path_to_url(path):