def check_require(require_modules, require_lines):
    for require_module in require_modules:
        st = try_import(require_module)
        if (st == 0):
            continue
        elif (st == 1):
            print('installed {}: {}\n'.format(require_module, require_lines[require_module]))
        elif (st == 2):
            print('failed installed {}: {}\n'.format(require_module, require_lines[require_module]))
def check_require(require_modules, require_lines):
    for require_module in require_modules:
        st = try_import(require_module)
        if (st == 0):
            continue
        elif (st == 1):
            print('installed {}: {}\n'.format(require_module, require_lines[require_module]))
        elif (st == 2):
            print('failed installed {}: {}\n'.format(require_module, require_lines[require_module]))