os.putenv('LANG', 'C')
try:
import wxversion
wxversion.select("2.6")
except Exception, e:
print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
sys.exit(1)
from wxPython import wx, grid
except ImportError:
wx = None