diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole.py
+++ b/spyder/plugins/ipythonconsole.py
@@ -72,7 +72,7 @@ QTCONSOLE_REQVER = ">=4.2.0"
 dependencies.add("qtconsole", _("Integrate the IPython console"),

                  required_version=QTCONSOLE_REQVER)

 

-IPYTHON_REQVER = ">=4.0"

+IPYTHON_REQVER = ">=4.0;<6.0" if PY2 else ">=4.0"

 dependencies.add("IPython", _("IPython interactive python environment"),

                  required_version=IPYTHON_REQVER)
Added ipython dependency >=<I>;<<I> for python2