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')