diff -r a88eb398a4ed -r 4fbb91fb6a31 eric6.py --- a/eric6.py Sat Jul 19 13:56:43 2014 +0200 +++ b/eric6.py Sat Jul 19 15:24:47 2014 +0200 @@ -33,7 +33,18 @@ import time import logging -from PyQt5.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication +try: + from PyQt5.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication +except ImportError: + try: + from tkinter import messagebox + messagebox.showerror( + "eric6 Error", + "PyQt5 could not be imported. Please make sure" + " it is installed and accessible.") + except ImportError: + pass + sys.exit(100) # some global variables needed to start the application args = None