diff -r 9a193ff6d24a -r 67ae52179c8b Preferences/ProgramsDialog.py --- a/Preferences/ProgramsDialog.py Sun May 13 12:57:00 2018 +0200 +++ b/Preferences/ProgramsDialog.py Sun May 13 14:58:23 2018 +0200 @@ -349,7 +349,8 @@ Preferences.getSystem("IOEncoding"), 'replace') if exeModule and exeModule[0] == "-m" and \ - "ImportError:" in output: + ("ImportError:" in output or + "ModuleNotFoundError:" in output): version = self.tr("(module not found)") else: if versionRe is None: