1370 # perform dependency checks |
1370 # perform dependency checks |
1371 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
1371 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
1372 if sys.version_info < (3, 5, 0): |
1372 if sys.version_info < (3, 5, 0): |
1373 print('Sorry, you must have Python 3.5.0 or higher.') |
1373 print('Sorry, you must have Python 3.5.0 or higher.') |
1374 exit(5) |
1374 exit(5) |
1375 if sys.version_info[0] > 3: |
|
1376 print('Sorry, eric6 requires Python 3 for running.') |
|
1377 exit(5) |
|
1378 |
1375 |
1379 try: |
1376 try: |
1380 import xml.etree # __IGNORE_WARNING__ |
1377 import xml.etree # __IGNORE_WARNING__ |
1381 except ImportError: |
1378 except ImportError: |
1382 print('Your Python installation is missing the XML module.') |
1379 print('Your Python installation is missing the XML module.') |