From 1344fd4bd1966d2e198c1c8223d487bcf3d87817 Mon Sep 17 00:00:00 2001 From: Jack Ting Date: Wed, 14 Apr 2021 19:54:54 +0800 Subject: [PATCH] Bug fix: windows does not have 'which' command (#641) --- cibuildwheel/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/windows.py b/cibuildwheel/windows.py index 8f657d71..4b5a825f 100644 --- a/cibuildwheel/windows.py +++ b/cibuildwheel/windows.py @@ -295,7 +295,7 @@ def build(options: BuildOptions) -> None: ]) # check that we are using the Python from the virtual environment - call(['which', 'python'], env=virtualenv_env) + call(['where', 'python'], env=virtualenv_env) if options.before_test: before_test_prepared = prepare_command(