[Mne_analysis] Mne_analysis Digest, Vol 117, Issue 36

Christopher Bailey cjb at cfin.au.dk
Tue Oct 31 10:36:12 EDT 2017
Search archives:

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

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

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



On 31 Oct 2017, at 14:57, mne_analysis-request at nmr.mgh.harvard.edu<mailto:mne_analysis-request at nmr.mgh.harvard.edu> wrote:

Send Mne_analysis mailing list submissions to
mne_analysis at nmr.mgh.harvard.edu<mailto:mne_analysis at nmr.mgh.harvard.edu>

To subscribe or unsubscribe via the World Wide Web, visit
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
or, via email, send a message with subject or body 'help' to
mne_analysis-request at nmr.mgh.harvard.edu

You can reach the person managing the list at
mne_analysis-owner at nmr.mgh.harvard.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mne_analysis digest..."


Today's Topics:

 1. Problem installing mayavi (Dirk van Moorselaar)
 2. Re: Problem installing mayavi (Christopher Bailey)


----------------------------------------------------------------------

Message: 1
Date: Tue, 31 Oct 2017 11:18:08 +0100
From: Dirk van Moorselaar <dirkvanmoorselaar at gmail.com>
Subject: [Mne_analysis] Problem installing mayavi
To: mne_analysis at nmr.mgh.harvard.edu
Message-ID: <E03AC13F-B2C4-486D-ABF5-9A3E73643AFB at gmail.com>
Content-Type: text/plain; charset="us-ascii"

Hello,

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.

Thanks,

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

------------------------------

Message: 2
Date: Tue, 31 Oct 2017 13:57:16 +0000
From: Christopher Bailey <cjb at cfin.au.dk>
Subject: Re: [Mne_analysis] Problem installing mayavi
To: Discussion and support forum for the users of MNE Software
<mne_analysis at nmr.mgh.harvard.edu>
Message-ID: <7722BF52-2E1F-4222-842E-017031978F6E at cfin.au.dk>
Content-Type: text/plain; charset="utf-8"

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

/Chris

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

Hello,

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.

Thanks,

Dirk
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu<mailto:Mne_analysis at nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis


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.html

------------------------------

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

End of Mne_analysis Digest, Vol 117, Issue 36
*********************************************


_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu<mailto:Mne_analysis at nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis

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


More information about the Mne_analysis mailing list