How to install Mayavi Trait backends?

半城伤御伤魂 提交于 2019-12-04 03:04:25
Nehal J Wani

The following steps worked for me (in a python2 environment):

conda create -yn mayavitest
source activate mayavitest
conda install -yc menpo mayavi=4.5.0
conda install -y pyside
conda install qt
ETS_TOOLKIT=qt4 python /path/to/mayavi-example.py

The installation of pyside might downgrade qt, that is why qt needs to be installed again.

Maybe OpenGL or any graphic card driver is missing. Because same error i got couple days ago was in windows server 2012 in hyper-v.

In windows you would used christopher gholke's windows wheels. In windows, again, you would need VC 2015 14.0 to compile traits libs. Maybe you need to dig what you need to install to compile traits libs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!