Updated wxPython check, enforcing at least wxPython 4.0 now.

This commit is contained in:
Cas Cremers 2020-10-28 08:42:09 +01:00
parent 7c00ddb2a9
commit 34fd418264

View File

@ -104,7 +104,13 @@ try:
WXPYTHON4 = True WXPYTHON4 = True
WXPYTHONINFREQ = wx.adv WXPYTHONINFREQ = wx.adv
except ImportError: except ImportError:
pass Misc.panic("""
ERROR:
Found wxPython libraries, but they seem to be too old (pre-4.0 wxPython). This means you cannot use the graphical user interface. To fix this, please ensure that you have at least wxPython 4.0 installed such that it is loaded by the wx import of python3.
Note that you can currently still use the Scyther binaries in the 'Scyther' directory.
""")
""" import externals """ """ import externals """
import sys import sys