--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckService.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckService.py Sun Dec 18 19:33:46 2022 +0100 @@ -12,7 +12,7 @@ from PyQt6.QtCore import QObject, pyqtSignal from eric7.EricWidgets.EricApplication import ericApp -from eric7.Utilities import determinePythonVersion +from eric7.SystemUtilities import PythonUtilities class SyntaxCheckService(QObject): @@ -52,7 +52,7 @@ @param source code of the file (str) @return language of the file or None if not found (str or None) """ - pyVer = determinePythonVersion(filename, source) + pyVer = PythonUtilities.determinePythonVersion(filename, source) if pyVer: return "Python{0}".format(pyVer)