'Ask our module its version string and return it or \'\' if unknown.'

def _get_installed_version_from_module(self, module):

    try:
        return module.__version__
    except AttributeError:
        logging.error('could    not    get    version    from    %s', module)
        return ''
