install.py

branch
6_1_x
changeset 4609
11589fdd69f4
parent 4562
63e68b863c0d
child 4632
ca310db386ed
equal deleted inserted replaced
4607:e108a6528ef4 4609:11589fdd69f4
1059 1059
1060 # perform dependency checks 1060 # perform dependency checks
1061 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) 1061 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
1062 if sys.version_info < (2, 7, 0): 1062 if sys.version_info < (2, 7, 0):
1063 print('Sorry, you must have Python 2.7.0 or higher or ' 1063 print('Sorry, you must have Python 2.7.0 or higher or '
1064 'Python 3.1.0 or higher.') 1064 'Python 3.3.0 or higher.')
1065 exit(5) 1065 exit(5)
1066 elif sys.version_info < (3, 1, 0) and sys.version_info[0] == 3: 1066 elif sys.version_info < (3, 3, 0) and sys.version_info[0] == 3:
1067 print('Sorry, you must have Python 3.1.0 or higher.') 1067 print('Sorry, you must have Python 3.3.0 or higher.')
1068 exit(5) 1068 exit(5)
1069 if sys.version_info > (3, 9, 9): 1069 if sys.version_info > (3, 9, 9):
1070 print('Sorry, eric6 requires Python 3 or Python 2 for running.') 1070 print('Sorry, eric6 requires Python 3 or Python 2 for running.')
1071 exit(5) 1071 exit(5)
1072 1072

eric ide

mercurial