diff --git a/setup.py b/setup.py index fa85a98..69b5337 100755 --- a/setup.py +++ b/setup.py @@ -123,8 +123,8 @@ class BuildWheels(Command): """Downloads a wheel from PyPI and saves it in self.wheels_path.""" subprocess.check_call([ - 'pip', 'download', - '--no-deps', + sys.executable, '-m', 'pip', + 'download', '--no-deps', '--dest', str(self.wheels_path), requirement[0] ])