install.py

changeset 97
c4086afea02b
parent 45
9a18f4dbb493
child 98
869a740ea4ee
equal deleted inserted replaced
96:9624a110667d 97:c4086afea02b
511 print('Sorry, eric5 requires Python 3 for running.') 511 print('Sorry, eric5 requires Python 3 for running.')
512 sys.exit(5) 512 sys.exit(5)
513 print("Python Version: %d.%d.%d" % sys.version_info[:3]) 513 print("Python Version: %d.%d.%d" % sys.version_info[:3])
514 514
515 try: 515 try:
516 from PyQt4.QtCore import qVersion, PYQT_VERSION 516 from PyQt4.QtCore import qVersion
517 except ImportError as msg: 517 except ImportError as msg:
518 print('Sorry, please install PyQt4.') 518 print('Sorry, please install PyQt4.')
519 print('Error: %s' % msg) 519 print('Error: %s' % msg)
520 sys.exit(1) 520 sys.exit(1)
521 print("Found PyQt") 521 print("Found PyQt")

eric ide

mercurial