Mne_analysis Digest, Vol 117, Issue 36

Dear Chris,

Thank you for response. I should have been more clear. I indeed always create virtual environments first before installing specific packages.
I first created a specific mne environment with the following code:

conda create -n mne python=2.7 anaconda
source activate mne

I then tried to install mne using the conda install and pip install lines as specified on your website. However, I then still get the mayavi installation error. Is it then still possible that my virtual environment has an old version of QT?

Thank you,

Dirk

Hi Dirk,

I had the same problem before, one way to avoid the problem (at least works for me) is to install the packages separately, such as conda install scipy and then conda install matplotlib ....

Best regards,

Feng Liu

Dear Dirk,

Don?t install the meta-package called ?anaconda?: this is the distribution provided by Anaconda Inc. with tons of packages (most of which you won?t need). Two of them (pywavelets and the Anaconda Navigator GUI) explicitly require a Qt version mayavi cannot handle.

So, once you conda install anaconda, you?re toast. Please try this instead

conda create -n mne python=2 pip
source activate mne # assuming you?re on linux/osx
conda install scipy matplotlib scikit-learn mayavi jupyter spyder
pip install PySurfer mne

/Chris