install.py

branch
5_1_x
changeset 1526
5193e77c2188
parent 1510
e75ecf2bd9dd
child 1540
3b0b478a3416
equal deleted inserted replaced
1523:e38f749a6f28 1526:5193e77c2188
711 print('Sorry, eric5 requires Python 3 for running.') 711 print('Sorry, eric5 requires Python 3 for running.')
712 exit(5) 712 exit(5)
713 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) 713 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
714 714
715 try: 715 try:
716 import xml.etree # __IGNORE_WARNING__
717 except ImportError as msg:
718 print('Your Python3 installation is missing the XML module.')
719 print('Please install it and try again.')
720 exit(5)
721
722 try:
716 from PyQt4.QtCore import qVersion 723 from PyQt4.QtCore import qVersion
717 except ImportError as msg: 724 except ImportError as msg:
718 print('Sorry, please install PyQt4.') 725 print('Sorry, please install PyQt4.')
719 print('Error: {0}'.format(msg)) 726 print('Error: {0}'.format(msg))
720 exit(1) 727 exit(1)

eric ide

mercurial