Import error when running code using matplotlib

Traceback (most recent call last):
  File "/home/kipu/Dropbox/endorse/endorse/", line 20, in <module>
    from endorse.simulation import run_simulation  File "/home/kipu/Dropbox/endorse/endorse/", line 9, in <module>
    from import create_polar_plot, create_report_pdf, send_report  File "/home/kipu/Dropbox/endorse/endorse/", line 16, in <module>
    from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
  File "/usr/local/lib/python2.7/site-packages/matplotlib-1.1.0-py2.7-linux-x86_64.egg/matplotlib/backends/", line 12, in <module>
    from backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,\
  File "/usr/local/lib/python2.7/site-packages/matplotlib-1.1.0-py2.7-linux-x86_64.egg/matplotlib/backends/", line 23, in <module>
    from qt4_compat import QtCore, QtGui, _getSaveFileName, __version__
  File "/usr/local/lib/python2.7/site-packages/matplotlib-1.1.0-py2.7-linux-x86_64.egg/matplotlib/backends/", line 36, in <module>
    import sip
ImportError: No module named sip

Any idea for how I could solve / work around this? Thanks

Hmm... I've had a bit of a play around with this. It looks like the sip module is actually in a broken state. It's not installable at the moment. Will investigate further.

In a situation like this I would usually suggest 'pip install --user sip' in order to just install the missing dependency. But that won't work at the moment and that module should already be installed anyway. We'll need to figure something out.

ok, thanks for the quick answer!