From 14fcb39fa8d33d7231e649942253a90ef224fe08 2023-03-01 01:28:54 From: Emilio Graff <1@emil.io> Date: 2023-03-01 01:28:54 Subject: [PATCH] Improve error message. The event loop will run anyway with the previously selected Qt version. --- diff --git a/IPython/terminal/pt_inputhooks/__init__.py b/IPython/terminal/pt_inputhooks/__init__.py index 57960e4..1281afc 100644 --- a/IPython/terminal/pt_inputhooks/__init__.py +++ b/IPython/terminal/pt_inputhooks/__init__.py @@ -69,7 +69,7 @@ def set_qt_api(gui): if loaded is not None and gui != "qt": if qt_env2gui[loaded] != gui: print( - f"Cannot switch Qt versions for this session; must use {qt_env2gui[loaded]}." + f"Cannot switch Qt versions for this session; will use {qt_env2gui[loaded]}." ) return