Could not import backend for traitsui. Make sure you have a suitable UI toolkit like PyQt/PySide or wxPython 原因 在安装mayavi的时候需要安装一些依赖。 解决方案(亲测有效) pip intall mayavipip install pyqt5