ImportError: Could not import backend for traitsui. Make sure you have a suitable UI toolkit like PyQt/PySide or wxPython installed.
ImportError: Could not import backend for traitsui. Make sure you
have a suitable UI toolkit like PyQt/PySide or wxPython
installed.
Hey @KangChou. I'm going to close this issue but we can continue diagnosing your installation problems on the issue.
Did you install one of those UI toolkits into your environment? If you're using Python 3, we would recommend PyQt5 or PySide2, unless you explicitly want to use wxPython.
If you did install one of those UI toolkits, can you try setting the ETS_TOOLKIT environment variable? For example, for the Qt packages, ETS_TOOLKIT environment variable needs to be set to qt.
Hope that helps.
I am facing the same problem,even pyqt5 is installed in conda env
I am facing the same problem,even pyqt5 is installed in conda env
I have the same problem, have you resolved it?
Hey @KangChou. I'm going to close this issue but we can continue diagnosing your installation problems on the issue.
Did you install one of those UI toolkits into your environment? If you're using Python 3, we would recommend PyQt5 or PySide2, unless you explicitly want to use wxPython.
If you did install one of those UI toolkits, can you try setting the
ETS_TOOLKITenvironment variable? For example, for the Qt packages,ETS_TOOLKITenvironment variable needs to be set toqt.Hope that helps.
Hey@rahulporuri, I downloaded mayavi in conda env, and run mayavi2 to successfully display the UI, but I get the same error when I call figure() in python program, could you give me some advice?
Hey @KangChou. I'm going to close this issue but we can continue diagnosing your installation problems on the issue. Did you install one of those UI toolkits into your environment? If you're using Python 3, we would recommend PyQt5 or PySide2, unless you explicitly want to use wxPython. If you did install one of those UI toolkits, can you try setting the
ETS_TOOLKITenvironment variable? For example, for the Qt packages,ETS_TOOLKITenvironment variable needs to be set toqt. Hope that helps.Hey@rahulporuri, I downloaded mayavi in conda env, and run
mayavi2to successfully display the UI, but I get the same error when I call figure() in python program, could you give me some advice?
have you fixed it?