Changeset 1959 for trunk/GSASII.py


Ignore:
Timestamp:
Aug 24, 2015 2:49:27 PM (6 years ago)
Author:
toby
Message:

fix crash with anaconda on Mac; allow for 2.7.xx version numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1956 r1959  
    36653665        if '2.7' not in sys.version[:5]:
    36663666            dlg = wx.MessageDialog(None,
    3667                 'GSAS-II requires Python 2.7.x\n Yours is '+sys.version[:5],
     3667                'GSAS-II requires Python 2.7.x\n Yours is '+sys.version.split()[0],
    36683668                'Python version error',  wx.OK)
    36693669            try:
     
    37073707    # print versions
    37083708    print "Python module versions loaded:"
    3709     print "python:     ",sys.version[:5]
     3709    print "python:     ",sys.version.split()[0]
    37103710    print "wxpython:   ",wx.__version__
    37113711    print "matplotlib: ",mpl.__version__
Note: See TracChangeset for help on using the changeset viewer.