exception ImportError
Raised when an import
statement fails to find the module definition or when a from ... import
fails to find a name that is to be imported.
The name
and path
attributes can be set using keyword-only arguments to the constructor. When set they represent the name of the module that was attempted to be imported and the path to any file which triggered the exception, respectively.
Changed in version 3.3: Added the name
and path
attributes.
Please login to continue.