File "/Users/tevelthu/Applications/anaconda/bin/jupyter-qtconsole", line 2, in <module>
from qtconsole.qtconsoleapp import main
File "/Users/tevelthu/Applications/anaconda/lib/python2.7/site-packages/qtconsole/qtconsoleapp.py", line 60, in <module>
from qtconsole.qt import QtCore, QtGui
File "/Users/tevelthu/Applications/anaconda/lib/python2.7/site-packages/qtconsole/qt.py", line 23, in <module>
QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
File "/Users/tevelthu/Applications/anaconda/lib/python2.7/site-packages/qtconsole/qt_loaders.py", line 290, in load_qt
result = loaders[api]()
File "/Users/tevelthu/Applications/anaconda/lib/python2.7/site-packages/qtconsole/qt_loaders.py", line 192, in import_pyqt4
from PyQt4 import QtGui, QtCore, QtSvg
RuntimeError: the sip module implements API v8.0 to v8.1 but the PyQt4.QtGui module requires API v11.2
One puzzle is that when I typed `sip -V` from the terminal, I got `4.16.9`, but when I imported it in Python, `sip.SIP_VERSION_STR` gave `4.12.1`, even though `sip.__file__` pointed to the correct site-packages directory. I suspect this is a bug in the binary sip library, because the `sipconfig.py` file has the correct version number.