Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6cf65ba

Browse files
committed
external/qt_loaders: list required Qt modules in import error message
1 parent 35fe1d3 commit 6cf65ba

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

IPython/external/qt_loaders.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ def load_qt(api_options):
284284
PyQt4 >= 4.7, PyQt5 or PySide >= 1.0.3 is available,
285285
and only one is imported per session.
286286
287-
Currently-imported Qt library: %r
288-
PyQt4 installed: %s
289-
PyQt5 installed: %s
290-
PySide >= 1.0.3 installed: %s
291-
Tried to load: %r
287+
Currently-imported Qt library: %r
288+
PyQt4 available (requires QtCore, QtGui, QtSvg): %s
289+
PyQt5 available (requires QtCore, QtGui, QtSvg, QtWidgets): %s
290+
PySide >= 1.0.3 installed: %s
291+
Tried to load: %r
292292
""" % (loaded_api(),
293293
has_binding(QT_API_PYQT),
294294
has_binding(QT_API_PYQT5),

0 commit comments

Comments
 (0)