install.py

changeset 1525
1c7bd9144f43
parent 1509
c0b5e693b0eb
child 1538
c14a5ecdb6f4
equal deleted inserted replaced
1524:745561b431db 1525:1c7bd9144f43
715 print('Sorry, eric5 requires Python 3 for running.') 715 print('Sorry, eric5 requires Python 3 for running.')
716 exit(5) 716 exit(5)
717 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3])) 717 print("Python Version: {0:d}.{1:d}.{2:d}".format(*sys.version_info[:3]))
718 718
719 try: 719 try:
720 import xml.etree # __IGNORE_WARNING__
721 except ImportError as msg:
722 print('Your Python3 installation is missing the XML module.')
723 print('Please install it and try again.')
724 exit(5)
725
726 try:
720 from PyQt4.QtCore import qVersion 727 from PyQt4.QtCore import qVersion
721 except ImportError as msg: 728 except ImportError as msg:
722 print('Sorry, please install PyQt4.') 729 print('Sorry, please install PyQt4.')
723 print('Error: {0}'.format(msg)) 730 print('Error: {0}'.format(msg))
724 exit(1) 731 exit(1)

eric ide

mercurial