scripts/install.py

branch
eric7
changeset 9143
82f08c4fd930
parent 9127
22e94bac751a
child 9175
21e2be5f0b41
equal deleted inserted replaced
9142:990abeef759f 9143:82f08c4fd930
1500 if not isSudo and isPipOutdated(): 1500 if not isSudo and isPipOutdated():
1501 updatePip() 1501 updatePip()
1502 print("\n") 1502 print("\n")
1503 1503
1504 # perform dependency checks 1504 # perform dependency checks
1505 if sys.version_info < (3, 7, 0): 1505 if sys.version_info < (3, 7, 0) or sys.version_info >= (3, 12, 0):
1506 print('Sorry, you must have Python 3.7.0 or higher.') 1506 print('Sorry, you must have Python 3.7.0 or higher, but less 3.12.0.')
1507 print("Yours is {0}.".format(
1508 ".".join(str(v) for v in sys.version_info[:3])
1509 ))
1507 exit(5) 1510 exit(5)
1508 1511
1509 try: 1512 try:
1510 import xml.etree # __IGNORE_WARNING__ 1513 import xml.etree # __IGNORE_WARNING__
1511 except ImportError: 1514 except ImportError:

eric ide

mercurial