From 6007cdda14585d88845c7a2df2c3c47e8a667118 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 8 May 2021 18:15:07 +0100 Subject: [PATCH] --yes --- cibuildwheel/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 3396140a..fce04ba3 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -180,7 +180,7 @@ def setup_python( # perhaps pip is installed, but not available as 'pip.exe'... if (installation_path / "Scripts" / "pip3.exe").exists(): # if it's there, remove that version of pip. - call(["python", "-m", "pip", "uninstall", "pip"]) + call(["python", "-m", "pip", "uninstall", "--yes", "pip"]) # Then reinstall. '--default-pip' ensures that it's installed as 'pip.exe' call(["python", "-m", "ensurepip", "--default-pip"], env=env, cwd="C:\\cibw")