Skip to content
Advertisement

After starting spyder: ImportError: cannot import name ‘quick_guide’

When I start the internal console pops up and gives the following “traceback”:

>>> WARNING:traitlets:kernel died: 6.001837253570557
Traceback (most recent call last):
  File "C:...libsite-packagestraitletstraitlets.py", line 528, in get
    value = obj._trait_values[self.name]
KeyError: 'banner'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:...libsite-packagesqtconsolebase_frontend_mixin.py", line 163, in _dispatch
    handler(msg)
  File "C:...libsite-packagesqtconsolejupyter_widget.py", line 296, in _handle_kernel_info_reply
    super(JupyterWidget, self)._started_channels()
  File "C:...libsite-packagesqtconsolefrontend_widget.py", line 617, in _started_channels
    self.reset(clear=True)
  File "C:...libsite-packagesqtconsolefrontend_widget.py", line 661, in reset
    self._append_plain_text(self.banner)
  File "C:...libsite-packagestraitletstraitlets.py", line 556, in __get__
    return self.get(obj, cls)
  File "C:...libsite-packagestraitletstraitlets.py", line 535, in get
    value = self._validate(obj, dynamic_default())
  File "C:...libsite-packagesspyderwidgetsipythonconsoleshell.py", line 280, in _banner_default
    return self.long_banner()
  File "C:...libsite-packagesspyderwidgetsipythonconsoleshell.py", line 91, in long_banner
    from IPython.core.usage import quick_guide
ImportError: cannot import name 'quick_guide'

The IPython console works without problems, it is just missing the “introduction text” (python version, help-commands).

Can I just ignore this exception or is there a way to fix this manually?

Advertisement

Answer

(Spyder developer here) This was fixed in Spyder 3.1.4 (just released). Please update to fix it.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement