def show_warning(message):
    """Show warning using Tkinter if available"""
    try:
        import Tkinter, tkMessageBox
        root = Tkinter.Tk()
        root.withdraw()
        tkMessageBox.showerror('Spyder', message)
    except ImportError:
        pass
    raise RuntimeError(message)
