From e29951c0058c59f04cc0ea8492904fac80f71ed7 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Thu, 26 Sep 2024 08:58:29 -0700 Subject: [PATCH] try importing twice --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 4de22f58b..ae49b7085 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,7 @@ def determine_generator_args(): if sys.platform == 'win32': try: # See which compiler python picks + from setuptools._distutils import ccompiler # We use ccompiler on windows to determine the msvc version compiler = ccompiler.new_compiler() compiler.initialize()