Try removing api module from pyqode.core.__init__