diff --git a/python/__init__.py b/python/__init__.py index b97aa91b..527a2ed2 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -26,7 +26,7 @@ def _check_python_version(): compile_version = f"{config.PYTHON_VERSION_MAJOR}.{config.PYTHON_VERSION_MINOR}" if sys_version != compile_version: - print(get_diagnostics(), file=sys.stderr) + print(_get_diagnostics(), file=sys.stderr) raise RuntimeError(f"Python version mismatch: compile-time version is {compile_version}, run-time version is {sys_version}") _check_python_version()