607
610
raise ImportError('%s cannot be loaded from %s'
608
611
% (fullname, plugin_path))
611
617
mod = imp.load_module(fullname, f, loading_path,
616
619
mod.__package__ = fullname
622
626
# Install a dedicated importer for plugins requiring special handling