def METHOD_NAME(module_name):
    # type: (str) -> str
    module = get_module_from_module_name(module_name)
    version = getattr(module, '__version__', None)
    if not version:
        # Try to find version in debundled module info
        pkg_set = pkg_resources.WorkingSet(
            [os.path.dirname(getattr(module, '__file__'))]
        )
        package = pkg_set.find(pkg_resources.Requirement.parse(module_name))
        version = getattr(package, 'version', None)
    return version