def get_pil_version():
    """Return Image Magick version or None if it is unavailable
    Try importing PIL."""
    try:
        __import__('PIL', fromlist=[str('Image')])
        return (0,)
    except __HOLE__:
        return None
dataset/ETHPy150Open beetbox/beets/beets/util/artresizer.py/get_pil_version