Changeset 1449 for trunk/GSASII.py


Ignore:
Timestamp:
Jul 31, 2014 1:44:06 PM (9 years ago)
Author:
toby
Message:

print pillow version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1447 r1449  
    33873387    print "OpenGL:     ",ogl.__version__
    33883388    try:
    3389         import Image
    3390         print "Image (PIL):",Image.VERSION
     3389        from PIL import Image
     3390        try:
     3391            from PIL import PILLOW_VERSION
     3392            version = PILLOW_VERSION
     3393        except:
     3394            version = Image.VERSION
     3395        print "pillow:     ",version
    33913396    except ImportError:
    33923397        try:
    3393             from PIL import Image
    3394             print "pillow:     ",Image.VERSION
     3398            import Image
     3399            print "Image (PIL):",Image.VERSION
    33953400        except ImportError:
    33963401            print "Image module not present; Note that PIL (Python Imaging Library) or pillow is needed for some image operations"
Note: See TracChangeset for help on using the changeset viewer.