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