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