diff --git a/ipykernel/connect.py b/ipykernel/connect.py index b9ee76e4b..6f1287708 100644 --- a/ipykernel/connect.py +++ b/ipykernel/connect.py @@ -106,7 +106,7 @@ def connect_qtconsole(connection_file=None, argv=None): cf = _find_connection_file(connection_file) - cmd = ";".join(["from IPython.qt.console import qtconsoleapp", "qtconsoleapp.main()"]) + cmd = ";".join(["from qtconsole import qtconsoleapp", "qtconsoleapp.main()"]) kwargs: Dict[str, Any] = {} # Launch the Qt console in a separate session & process group, so