python: Fix error in python import warning on Windows

This commit is contained in:
Marian Koop 2026-08-18 21:43:15 +02:00 committed by mkoop-ni
parent e23454654f
commit f9e8c5896f

View File

@ -51,7 +51,7 @@ if os.name == "nt":
if not uhd_dll_dir:
print(
f"WARNING: Failed to add {uhd_dll_name} path to DLL search, module may not import properly, "
"version check skipped.\nPlease ensure UHD_PKG_DIR (binary installation) is set correctly. "
"version check skipped.\nPlease ensure UHD_PKG_PATH (binary installation) is set correctly. "
'For Python version < 3.8 the "UHD\\bin" directory needs to be added to PATH environment variable.'
)