install.py

changeset 6322
cb7d2ab9c9f5
parent 6316
ee88310f0334
child 6347
bcca9eba56a1
equal deleted inserted replaced
6318:17df7a729d94 6322:cb7d2ab9c9f5
1336 try: 1336 try:
1337 from PyQt5 import Qsci # __IGNORE_WARNING__ 1337 from PyQt5 import Qsci # __IGNORE_WARNING__
1338 message = None 1338 message = None
1339 except ImportError as msg: 1339 except ImportError as msg:
1340 message = str(msg) 1340 message = str(msg)
1341 else:
1342 message = "QScintilla could not be installed."
1341 if message: 1343 if message:
1342 print("Sorry, please install QScintilla2 and") 1344 print("Sorry, please install QScintilla2 and")
1343 print("its PyQt5/PyQt4 wrapper.") 1345 print("its PyQt5/PyQt4 wrapper.")
1344 print('Error: {0}'.format(msg)) 1346 print('Error: {0}'.format(msg))
1345 exit(1) 1347 exit(1)

eric ide

mercurial