[Mne_analysis] Problem installing mayavi

Christopher Bailey cjb at cfin.au.dk
Tue Oct 31 09:57:16 EDT 2017
Search archives:

Hi Dirk,

Looks like you’re installing those packages directly into the ‘root’ environment under Anaconda. In general, it’s highly recommended that you create environments for specific needs. In your case, you could try

conda create -n mne python=2 pip

for bare python 2. Then activate the environment (Win: activate mne; linux/osx: source activate mne), and re-run the conda install and pip lines you posted. The problem you are facing is related to mayavi and thereby PySurfer depending on an old version of Qt.

Alternatively, you could try your luck with the environment definition file shipped with mne-python:

conda env create -f environment.yml

from https://github.com/mne-tools/mne-python/blob/master/environment.yml which works for me (OS X). Consider this ‘experimental’, though (installs python 3).

Read more about conda environments here: https://conda.io/docs/user-guide/tasks/manage-environments.html


On 31 Oct 2017, at 11.18, Dirk van Moorselaar <dirkvanmoorselaar at gmail.com<mailto:dirkvanmoorselaar at gmail.com>> wrote:


Yesterday I mailed that I had troubles using raw.plot (Subject: problem scrolling trough data using raw.plot). I realised that this might have had something todo with the way I installed mne. To install mne I followed the instructions on the website. I installed anaconda and then tried to execute the following lines.

$ conda install scipy matplotlib scikit-learn mayavi jupyter spyder
$ pip install PySurfer mne

However, installing mayavi resulted in the following error:

Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - mayavi
  - navigator-updater
  - pywavelets

To circumvent this error I installed mne without installing Pysurfer and mne. I was wondering whether this could explain the problem I encountered with raw.plot.


Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu<mailto:Mne_analysis at nmr.mgh.harvard.edu>

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171031/0cd391e3/attachment-0001.html 

More information about the Mne_analysis mailing list