returns conda infos

def conda_info(prefix):
    """returns conda infos"""
    cmd = [join(prefix, 'bin', 'conda')]
    cmd.extend(['info', '--json'])
    output = check_output(cmd)
    return yaml.load(output)