I am working on a plugin system where plugin modules are loaded like this:
def load_plugins(): plugins=glob.glob(\"plugins/*.py\") instances=[] for
You can try adding below statement at the beginning of import statements.
from __future__ import absolute_import