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):