machinalis / ninja_ipython_console

An IPython console plugin for Ninja
GNU General Public License v3.0
1 stars 1 forks source link

No module named IPython.qt.console.rich_ipython_widget #2

Closed hnykda closed 9 years ago

hnykda commented 10 years ago

Hello, I'm getting this error when trying to use this plugin (v. 0.4) with ninja-ide version 2.3-2. The problem is that it is finding for that plugin in python2.7 path, but iPython is currently installed in Python3.x. It is even ignoring working in virtualenv.

When I copy iPython, Pygments etc. to Python2.7, it works.

Any solution? Thanks

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ninja_ide/core/plugin_manager.py", line 319, in load
    dir_name)
  File "/usr/lib/python2.7/site-packages/ninja_ide/core/plugin_manager.py", line 297, in _load_module
    (module, reason))
PluginManagerException: Error loading "ipythonconsole": No module named IPython.qt.console.rich_ipython_widget
tshrinivasan commented 9 years ago

You should be able to fix this by installing ipython-qtconsole

hnykda commented 9 years ago

More than 1 year old... Not really sure if still relevant.

elliotwoods commented 6 years ago

In resonse to suggestion from @tshrinivasan here i've tried: pip install qtconsole pip install ipython[all]

but still the same issue persists: ModuleNotFoundError: No module named 'IPython.qt.console.rich_ipython_widget'

madmax2012 commented 5 years ago

Not sure about pip, but using your OS package-manager you just need install: python2-qtconsole ipython2 python2-ipykernel python2-ipywidgets