python 2.7 - Importing Editor from traitsui.wx.editor fails with AttributeError: 'module' object has no attribute 'CustomDataFormat' -
i using python2.7 conda env of necessary packages installed (as far know) on ubuntu 17.04, , can't enthought package, traitsui.wx.editor
import:
import wx import matplotlib matplotlib.use('wxagg') traits.api import * traitsui.wx.editor import editor # raises attributeerror traitsui.api import * # traitsui.wx.editor import editor (raises runtimeerror)
what confusing me, if move problematic line after from traitsui.api import *
runtimeerror: importing wx backend after selecting null backend!
the other error in full is: attributeerror: 'module' object has no attribute 'customdataformat'
Comments
Post a Comment