<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Dirk,
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">So, once you <font face="SauceCodePowerline-Regular" class="">conda install anaconda</font>, you’re toast. Please try this instead&nbsp;</div>
<div class=""><br class="">
</div>
<div class=""><font face="SauceCodePowerline-Regular" class="">conda create -n mne python=2 pip</font></div>
<div class=""><font face="SauceCodePowerline-Regular" class="">source activate mne &nbsp;# assuming you’re on linux/osx</font></div>
<div class=""><font face="SauceCodePowerline-Regular" class="">conda install scipy matplotlib scikit-learn mayavi jupyter spyder</font></div>
<div class=""><font face="SauceCodePowerline-Regular" class="">pip install PySurfer mne</font></div>
<div class=""><font face="SauceCodePowerline-Regular" class=""><br class="">
</font></div>
<div class="">/Chris</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 31 Oct 2017, at 15.25, Dirk van Moorselaar &lt;<a href="mailto:dirkvanmoorselaar@gmail.com" class="">dirkvanmoorselaar@gmail.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Dear Chris,<br class="">
<br class="">
Thank you for response. I should have been more clear. I indeed always create virtual environments first before installing specific packages.<br class="">
I first created a specific mne environment with the following code:<br class="">
<br class="">
conda create -n mne python=2.7 anaconda<br class="">
source activate mne <br class="">
<br class="">
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?<br class="">
<br class="">
Thank you,<br class="">
<br class="">
Dirk<br class="">
<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On 31 Oct 2017, at 14:57, <a href="mailto:mne_analysis-request@nmr.mgh.harvard.edu" class="">
mne_analysis-request@nmr.mgh.harvard.edu</a> wrote:<br class="">
<br class="">
Send Mne_analysis mailing list submissions to<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span><a href="mailto:mne_analysis@nmr.mgh.harvard.edu" class="">mne_analysis@nmr.mgh.harvard.edu</a><br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<br class="">
or, via email, send a message with subject or body 'help' to<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>mne_analysis-request@nmr.mgh.harvard.edu<br class="">
<br class="">
You can reach the person managing the list at<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>mne_analysis-owner@nmr.mgh.harvard.edu<br class="">
<br class="">
When replying, please edit your Subject line so it is more specific<br class="">
than &quot;Re: Contents of Mne_analysis digest...&quot;<br class="">
<br class="">
<br class="">
Today's Topics:<br class="">
<br class="">
&nbsp;1. Problem installing mayavi (Dirk van Moorselaar)<br class="">
&nbsp;2. Re: Problem installing mayavi (Christopher Bailey)<br class="">
<br class="">
<br class="">
----------------------------------------------------------------------<br class="">
<br class="">
Message: 1<br class="">
Date: Tue, 31 Oct 2017 11:18:08 &#43;0100<br class="">
From: Dirk van Moorselaar &lt;dirkvanmoorselaar@gmail.com&gt;<br class="">
Subject: [Mne_analysis] Problem installing mayavi<br class="">
To: mne_analysis@nmr.mgh.harvard.edu<br class="">
Message-ID: &lt;E03AC13F-B2C4-486D-ABF5-9A3E73643AFB@gmail.com&gt;<br class="">
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br class="">
<br class="">
Hello,<br class="">
<br class="">
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.<br class="">
<br class="">
$ conda install scipy matplotlib scikit-learn mayavi jupyter spyder<br class="">
$ pip install PySurfer mne<br class="">
However, installing mayavi resulted in the following error:<br class="">
<br class="">
Fetching package metadata .............<br class="">
Solving package specifications: .<br class="">
<br class="">
UnsatisfiableError: The following specifications were found to be in conflict:<br class="">
- mayavi<br class="">
- navigator-updater<br class="">
- pywavelets<br class="">
<br class="">
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.<br class="">
<br class="">
Thanks,<br class="">
<br class="">
Dirk<br class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171031/0f8bc42c/attachment-0001.html
<br class="">
<br class="">
------------------------------<br class="">
<br class="">
Message: 2<br class="">
Date: Tue, 31 Oct 2017 13:57:16 &#43;0000<br class="">
From: Christopher Bailey &lt;cjb@cfin.au.dk&gt;<br class="">
Subject: Re: [Mne_analysis] Problem installing mayavi<br class="">
To: Discussion and support forum for the users of MNE Software<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>&lt;mne_analysis@nmr.mgh.harvard.edu&gt;<br class="">
Message-ID: &lt;7722BF52-2E1F-4222-842E-017031978F6E@cfin.au.dk&gt;<br class="">
Content-Type: text/plain; charset=&quot;utf-8&quot;<br class="">
<br class="">
Hi Dirk,<br class="">
<br class="">
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<br class="">
<br class="">
conda create -n mne python=2 pip<br class="">
<br class="">
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.<br class="">
<br class="">
Alternatively, you could try your luck with the environment definition file shipped with mne-python:<br class="">
<br class="">
conda env create -f environment.yml<br class="">
<br class="">
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).<br class="">
<br class="">
Read more about conda environments here: https://conda.io/docs/user-guide/tasks/manage-environments.html<br class="">
<br class="">
/Chris<br class="">
<br class="">
On 31 Oct 2017, at 11.18, Dirk van Moorselaar &lt;dirkvanmoorselaar@gmail.com&lt;mailto:dirkvanmoorselaar@gmail.com&gt;&gt; wrote:<br class="">
<br class="">
Hello,<br class="">
<br class="">
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.<br class="">
<br class="">
<br class="">
$ conda install scipy matplotlib scikit-learn mayavi jupyter spyder<br class="">
$ pip install PySurfer mne<br class="">
<br class="">
However, installing mayavi resulted in the following error:<br class="">
<br class="">
Fetching package metadata .............<br class="">
Solving package specifications: .<br class="">
<br class="">
UnsatisfiableError: The following specifications were found to be in conflict:<br class="">
- mayavi<br class="">
- navigator-updater<br class="">
- pywavelets<br class="">
<br class="">
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.<br class="">
<br class="">
Thanks,<br class="">
<br class="">
Dirk<br class="">
_______________________________________________<br class="">
Mne_analysis mailing list<br class="">
Mne_analysis@nmr.mgh.harvard.edu&lt;mailto:Mne_analysis@nmr.mgh.harvard.edu&gt;<br class="">
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<br class="">
<br class="">
<br class="">
The information in this e-mail is intended only for the person to whom it is<br class="">
addressed. If you believe this e-mail was sent to you in error and the e-mail<br class="">
contains patient information, please contact the Partners Compliance HelpLine at<br class="">
http://www.partners.org/complianceline . If the e-mail was sent to you in error<br class="">
but does not contain patient information, please contact the sender and properly<br class="">
dispose of the e-mail.<br class="">
<br class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171031/0cd391e3/attachment.html
<br class="">
<br class="">
------------------------------<br class="">
<br class="">
_______________________________________________<br class="">
Mne_analysis mailing list<br class="">
Mne_analysis@nmr.mgh.harvard.edu<br class="">
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<br class="">
<br class="">
End of Mne_analysis Digest, Vol 117, Issue 36<br class="">
*********************************************<br class="">
</blockquote>
<br class="">
<br class="">
_______________________________________________<br class="">
Mne_analysis mailing list<br class="">
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" class="">Mne_analysis@nmr.mgh.harvard.edu</a><br class="">
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>