def warn_import_error(type_of_obj_support: str, caught: ImportError):
msg = StringIO()<EOL>msg.writelines('<STR_LIT>' + type_of_obj_support + '<STR_LIT>'<EOL>'<STR_LIT>')<EOL>traceback.print_tb(caught.__traceback__, file=msg)<EOL>msg.writelines(str(caught.__class__.__name__) + '<STR_LIT>' + str(caught) + '<STR_LIT:\n>')<EOL>warn(msg.getvalue())<EOL>
Utility method to print a warning message about failed import of some modules

:param type_of_obj_support:
:param caught:
:return: