From a941e7b6f895ce8293b9a943da0a2c1e225f7850 Mon Sep 17 00:00:00 2001 From: Xinyu Li Date: Tue, 1 Oct 2024 15:10:04 -0700 Subject: [PATCH] fix --- python/ionpy/native.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ionpy/native.py b/python/ionpy/native.py index 4f9b0215..966b2584 100644 --- a/python/ionpy/native.py +++ b/python/ionpy/native.py @@ -7,6 +7,7 @@ if platform.system() == 'Windows': ion_core_module = os.path.join(pre_built_path, 'windows/ion-core.dll') ion_bb_module = os.path.join(pre_built_path, 'windows/ion-bb.dll') + os.add_dll_directory(os.path.join(pre_built_path, 'windows')) elif platform.system() == 'Darwin': ion_core_module = os.path.join(pre_built_path, 'macos/libion-core.dylib') ion_bb_module = os.path.join(pre_built_path, 'macos/libion-bb.dylib')