diff --git a/src/mckit/_init_dynamic_libraries.py b/src/mckit/_init_dynamic_libraries.py index ef4c207b..a74c087a 100644 --- a/src/mckit/_init_dynamic_libraries.py +++ b/src/mckit/_init_dynamic_libraries.py @@ -74,7 +74,10 @@ def _init(): if WIN: for _dir in SHARED_LIBRARY_DIRECTORIES: os.add_dll_directory(str(_dir)) - _preload_library("mkl_rt", max_version=2) + _preload_library("mkl_rt") + _preload_library( + "nlopt" + ) # otherwise: ImportError: libnlopt.so.0: cannot open shared object fileg _init()