On Windows, with Python >= 3.8, DLLs are no longer imported from the PATH. os.add_dll_directory() can be used