def _import_fail_message(module, version):
 _dict = {'which': which[0], 'module': module, 'specific': (version + module)}
 print ('\nThe import of the %(which)s version of the %(module)s module,\n%(specific)s, failed.  This is is either because %(which)s was\nunavailable when matplotlib was compiled, because a dependency of\n%(specific)s could not be satisfied, or because the build flag for\nthis module was turned off in setup.py.  If it appears that\n%(specific)s was not built, make sure you have a working copy of\n%(which)s and then re-install matplotlib. Otherwise, the following\ntraceback gives more details:\n' % _dict)

def _import_fail_message ( module , version ) : _dict = { 'which' : which [ 0 ] , 'module' : module , 'specific' : ( version + module ) } print ( '\nThe import of the %(which)s version of the %(module)s module,\n%(specific)s, failed.  This is is either because %(which)s was\nunavailable when matplotlib was compiled, because a dependency of\n%(specific)s could not be satisfied, or because the build flag for\nthis module was turned off in setup.py.  If it appears that\n%(specific)s was not built, make sure you have a working copy of\n%(which)s and then re-install matplotlib. Otherwise, the following\ntraceback gives more details:\n' % _dict )
prints a message when the array package specific version of an extension fails to import correctly .