diff --git a/onnxruntime/python/_pybind_state.py.in b/onnxruntime/python/_pybind_state.py.in index ee625a0f7f..fb0ed51988 100644 --- a/onnxruntime/python/_pybind_state.py.in +++ b/onnxruntime/python/_pybind_state.py.in @@ -7,7 +7,6 @@ Ensure that dependencies are available and then load the extension module. """ import os import platform -import sys import warnings from . import _ld_preload # noqa: F401 @@ -25,7 +24,7 @@ if platform.system() == "Windows": if not os.path.isfile(os.path.join(system_root, "System32", "vcruntime140_1.dll")): warnings.warn("Please install the 2019 Visual C++ runtime and then try again. " "If you've installed the runtime in a non-standard location " - "(other than %SystemRoot%\System32), " + "(other than %SystemRoot%\\System32), " "make sure it can be found by setting the correct path.") @ONNXRUNTIME_IMPORT_PYTORCH_TO_RESOLVE_DLLS@