1126 """ |
1126 """ |
1127 print('Checking dependencies') |
1127 print('Checking dependencies') |
1128 |
1128 |
1129 # perform dependency checks |
1129 # perform dependency checks |
1130 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
1130 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) |
1131 if sys.version_info < (2, 7, 0): |
1131 if sys.version_info < (2, 7, 10): |
1132 print('Sorry, you must have Python 2.7.0 or higher or ' |
1132 print('Sorry, you must have Python 2.7.10 or higher or ' |
1133 'Python 3.3.0 or higher.') |
1133 'Python 3.4.0 or higher.') |
1134 exit(5) |
1134 exit(5) |
1135 elif sys.version_info < (3, 3, 0) and sys.version_info[0] == 3: |
1135 elif sys.version_info < (3, 4, 0) and sys.version_info[0] == 3: |
1136 print('Sorry, you must have Python 3.3.0 or higher.') |
1136 print('Sorry, you must have Python 3.4.0 or higher.') |
1137 exit(5) |
1137 exit(5) |
1138 if sys.version_info > (3, 9, 9): |
1138 if sys.version_info > (3, 9, 9): |
1139 print('Sorry, eric6 requires Python 3 or Python 2 for running.') |
1139 print('Sorry, eric6 requires Python 3 or Python 2 for running.') |
1140 exit(5) |
1140 exit(5) |
1141 |
1141 |