install.py

changeset 4608
0d850eb60ea8
parent 4566
a2e8f3c420ec
child 4619
aa2319888257
equal deleted inserted replaced
4604:623f95f1531b 4608:0d850eb60ea8
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