def _format_compatibility_errors(name, version, errors):
    """Format a message for compatibility errors.
    """
    msg = '\n"%s@%s" is not compatible with the current JupyterLab'
    msg = msg % (name, version)
    msg += '\nConflicting Dependencies:'
    msg += '\nRequired\tActual\tPackage'
    for error in errors:
        msg += '\n%s  \t%s\t%s' % (error[1], error[2], error[0])
    return msg