Installed module Pyzmq and zmq but still I get error ModuleNotFoundError: No module named 'IPython.zmq'

I use PyCharm IDE and installed IPython and related modules like zmq, pyzmq, … in venv. I want to embed ipython and qt but when I run I got this error :

from IPython.zmq.ipkernel import IPKernelApp
ModuleNotFoundError: No module named 'IPython.zmq'

also I want to import and use "IPython.frontend.qt.console.rich_ipython_widget " but I cant install it and I get installation failed error:

 Could not find a version that satisfies the requirement qt (from versions: )
 No matching distribution found for qt

Here is my installed packages:

and I want to import these modules too:

from IPython.zmq.ipkernel import IPKernelApp
from IPython.lib.kernel import find_connection_file
from IPython.frontend.qt.kernelmanager import QtKernelManager
from IPython.frontend.qt.console.rich_ipython_widget import RichIPythonWidget
from IPython.utils.traitlets import TraitError

Can anyone help me with that?
Thank You

1 Like

This way of using packages and modules are deprecated !!
Now we have to use jupyter Qtconsole.

1 Like