添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

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:
image1651×1539 124 KB 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