1540 'Sorry, QScintilla2 version {0} is not compatible with' |
1540 'Sorry, QScintilla2 version {0} is not compatible with' |
1541 ' eric6.'.format(vers)) |
1541 ' eric6.'.format(vers)) |
1542 print('Please install another version.') |
1542 print('Please install another version.') |
1543 exit(5) |
1543 exit(5) |
1544 |
1544 |
|
1545 # print version info for additional modules |
|
1546 try: |
|
1547 print("PyQtChart:", QtChart.PYQT_CHART_VERSION_STR) |
|
1548 except (NameError, AttributeError): |
|
1549 pass |
|
1550 try: |
|
1551 from PyQt5 import QtWebEngine |
|
1552 print("PyQtWebEngine.", QtWebEngine.PYQT_WEBENGINE_VERSION_STR) |
|
1553 except (ImportError, AttributeError): |
|
1554 pass |
|
1555 |
1545 print("All dependencies ok.") |
1556 print("All dependencies ok.") |
1546 print() |
1557 print() |
1547 |
1558 |
1548 |
1559 |
1549 def __pyName(py_dir, py_file): |
1560 def __pyName(py_dir, py_file): |