Force use of 2.8 on ssystems with multiple wx versions installed
Pyfa was reported to break under 2.9
This commit is contained in:
5
pyfa.py
5
pyfa.py
@@ -34,6 +34,11 @@ if not hasattr(sys, 'frozen'):
|
||||
print "Cannot find wxPython or the installed wxPython version doesn't meet the min. requirements.\nYou can download wxPython (2.8) from http://www.wxpython.org/"
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
wxversion.select('2.8')
|
||||
except wxversion.VersionError:
|
||||
print("Unable to select wxpython 2.8, attempting to continue anyway")
|
||||
|
||||
try:
|
||||
import sqlalchemy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user