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: |