diff --git a/spyder/widgets/ipythonconsole/shell.py b/spyder/widgets/ipythonconsole/shell.py index e8d3bddca1f..0c36329a117 100644 --- a/spyder/widgets/ipythonconsole/shell.py +++ b/spyder/widgets/ipythonconsole/shell.py @@ -89,7 +89,10 @@ def set_cwd(self, dirname): def long_banner(self): """Banner for IPython widgets with pylab message""" # Default banner - from IPython.core.usage import quick_guide + try: + from IPython.core.usage import quick_guide + except Exception: + quick_guide = '' banner_parts = [ 'Python %s\n' % self.interpreter_versions['python_version'], 'Type "copyright", "credits" or "license" for more information.\n\n',