scripts/install.py

branch
eric7
changeset 10118
f93954861747
parent 10091
ac6edcfe7831
child 10119
64147a7e6393
equal deleted inserted replaced
10117:71d337b51995 10118:f93954861747
1118 Create Desktop and Start Menu links. 1118 Create Desktop and Start Menu links.
1119 """ 1119 """
1120 try: 1120 try:
1121 # check, if pywin32 is available 1121 # check, if pywin32 is available
1122 from win32com.client import Dispatch # __IGNORE_WARNING__ 1122 from win32com.client import Dispatch # __IGNORE_WARNING__
1123 except ImportError: 1123 except (ImportError, ModuleNotFoundError):
1124 installed = pipInstall( 1124 installed = pipInstall(
1125 "pywin32", 1125 "pywin32",
1126 "\nThe Python package 'pywin32' could not be imported.", 1126 "\nThe Python package 'pywin32' could not be imported.",
1127 force=False, 1127 force=False,
1128 ) 1128 )

eric ide

mercurial