scripts/install.py

changeset 7185
af8e89a7a51d
parent 7178
43e994af5ee0
child 7192
a22eee00b052
child 7210
8fe313d039e6
equal deleted inserted replaced
7184:34752db00ee9 7185:af8e89a7a51d
1529 installed = pipInstall( 1529 installed = pipInstall(
1530 "PyQtWebEngine", 1530 "PyQtWebEngine",
1531 "PyQtWebEngine could not be detected.\nError: {0}" 1531 "PyQtWebEngine could not be detected.\nError: {0}"
1532 .format(msg) 1532 .format(msg)
1533 ) 1533 )
1534
1535 try:
1536 from PyQt5 import QtChart # __IGNORE_WARNING__
1537 except ImportError as msg:
1538 installed = pipInstall(
1539 "PyQtChart",
1540 "PyQtChart could not be detected.\nError: {0}"
1541 .format(msg)
1542 )
1534 1543
1535 try: 1544 try:
1536 if pyqtVariant == "PyQt4": 1545 if pyqtVariant == "PyQt4":
1537 from PyQt4 import Qsci # __IGNORE_WARNING__ 1546 from PyQt4 import Qsci # __IGNORE_WARNING__
1538 else: 1547 else:

eric ide

mercurial