Fechar menu lateral

Install mayavi in anaconda for python 3.5

  1. conda create -n oldqt python=3 pyqt=4
  2. Switch to the newly created env:
    activate oldqt for Windows OS
    source activate oldqt for Mac/linux OS
  3. install mayavi using the menpo package installer:
    conda install -c menpo mayavi
  4. Use the oldqt env to run your python mayavi scripts, and include the snippet below at the top of these scripts to ensure that a valid QT API for mayavi is specified:
import os
os.environ["QT_API"] = "pyqt"

Ref.: https://davidyaowp.wordpress.com/2017/02/13/install-mayavi-in-anaconda-for-python-3-5/