scripts/install.py

branch
eric7
changeset 10118
f93954861747
parent 10091
ac6edcfe7831
child 10119
64147a7e6393
diff -r 71d337b51995 -r f93954861747 scripts/install.py
--- a/scripts/install.py	Mon Jul 17 17:38:47 2023 +0200
+++ b/scripts/install.py	Thu Jul 20 10:36:23 2023 +0200
@@ -1120,7 +1120,7 @@
     try:
         # check, if pywin32 is available
         from win32com.client import Dispatch  # __IGNORE_WARNING__
-    except ImportError:
+    except (ImportError, ModuleNotFoundError):
         installed = pipInstall(
             "pywin32",
             "\nThe Python package 'pywin32' could not be imported.",

eric ide

mercurial