pySurfer installation failed

Folks,

I've just installed the MNE, and trying some examples from the web page. Seem that the pySurfer has not installed properly? I get something like, "Failed building wheel for pySurfer".
To give your more details, I am using Anaconda/Spyder 3.1.4 under python 2.7 in a windows machine.

Any comments would be appreciated!

Cheers,
Vahab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170923/3e8a4c45/attachment.html

hi Vahab,

how did you install mayavi and pysurfer?
what command did you type?

Best,
Alex

Hi Alex,

Kindly I tried, conda installed scipy matplotlib scikit-learn mayavi ipython-notebook (img1), and pip install pysurfer (img2), both in Anaconda prompt.

Regards,
Vahab

Hi Alex,

Kindly I tried, conda installed scipy matplotlib scikit-learn mayavi ipython-notebook (img1), and pip install pysurfer (img2), both in Anaconda prompt.

Regards,
Vahab

hi,

so it tells you that mayavi was not installed.

it's needed by pysurfer

Alex

Thanks, that?s what I guessed, but how to install the mayavi then?
Apologies, I am absolutely new to python!

Cheers,
Vahab

Vahab,

When I installed MNE, I had very similar issues to you.

Check out this stakoverflow thread: conflict while installing mayavi into anaconda - Stack Overflow

It helped install mayavi and the dependencies I still needed.

Cheers,
Hector

El 24/09/2017, a las 17:01, Youssofzadeh, Vahab <Vahab.Youssofzadeh at cchmc.org> escribi?:

Thanks, that?s what I guessed, but how to install the mayavi then?
Apologies, I am absolutely new to python!

Cheers,
Vahab
From: mne_analysis-bounces at nmr.mgh.harvard.edu [mailto:mne_analysis-bounces at nmr.mgh.harvard.edu] On Behalf Of Alexandre Gramfort
Sent: Sunday, September 24, 2017 3:33 PM
To: Discussion and support forum for the users of MNE Software <mne_analysis at nmr.mgh.harvard.edu>
Subject: Re: [Mne_analysis] pySurfer installation failed

hi,

so it tells you that mayavi was not installed.

it's needed by pysurfer

Alex

Hi Alex,

Kindly I tried, conda installed scipy matplotlib scikit-learn mayavi ipython-notebook (img1), and pip install pysurfer (img2), both in Anaconda prompt.

Regards,
Vahab
From: mne_analysis-bounces at nmr.mgh.harvard.edu <mailto:mne_analysis-bounces at nmr.mgh.harvard.edu> [mailto:mne_analysis-bounces at nmr.mgh.harvard.edu <mailto:mne_analysis-bounces at nmr.mgh.harvard.edu>] On Behalf Of Alexandre Gramfort
Sent: Sunday, September 24, 2017 7:23 AM
To: Discussion and support forum for the users of MNE Software <mne_analysis at nmr.mgh.harvard.edu <mailto:mne_analysis at nmr.mgh.harvard.edu>>
Subject: Re: [Mne_analysis] pySurfer installation failed

hi Vahab,

how did you install mayavi and pysurfer?
what command did you type?

Best,
Alex

Folks,

I?ve just installed the MNE, and trying some examples from the web page. Seem that the pySurfer has not installed properly? I get something like, ?Failed building wheel for pySurfer?.
To give your more details, I am using Anaconda/Spyder 3.1.4 under python 2.7 in a windows machine.

Any comments would be appreciated!

Cheers,
Vahab

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

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
MyComplianceReport.com: Compliance and Ethics Reporting . 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.

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

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
MyComplianceReport.com: Compliance and Ethics Reporting . 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.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

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
MyComplianceReport.com: Compliance and Ethics Reporting . 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/20170924/b1131400/attachment-0001.html

Hi Vahab and Hector,

The problem has likely to do with the old version of Qt mayvi depends on (as indicated by the SO answer linked to by Hector). I?ve seen this problem with the anaconda-navigator package before (depends on a more modern Qt). It seems you also have a problem with the package pywavelets.

On windows, the ?full? Anaconda package installation is the only way I?ve got things working with reasonably consistent success (on macOS/Linux, miniconda works great, google it). Here?s what I recommend:

- download & install the latest Anaconda python 3.x -package
- leave the ?root? anaconda installation as-is, don?t install additional packages to it
- create a new python 2-environment using (in Anaconda Prompt in Windows)

conda create -n mne-python python=2 pip

- remember to activate mne-python (or whatever you decide to call it; source activate on *nix OS?s)
- then follow the installation guide on the mne-website

If you can give us feedback on whether the above works for you, I could write up a suggestion for an update of the website.

/Chris

P.S if you feel like giving it a shot, I?ve attached an environment definition I made some months back. It was used on a few Win10-laptops, and may work. Anyone trying this, please contact me directly for comments/input: no need to flood the mne mailing list.

conda env create -n mne-python -f mne-python-win10.yaml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170925/add95ad8/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mne-python-win10.yaml
Type: application/octet-stream
Size: 2040 bytes
Desc: mne-python-win10.yaml
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170925/add95ad8/attachment-0001.obj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170925/add95ad8/attachment-0001.htm

Dear Chris & Hector,

Thanks very much for the helpful suggestions.
Using below details I am now able to run the examples, however, not sure why freesurfer viewer (fsaverage) does not respond (a blank figure with not responding message).

I?ll work on it, and will ask my further questions out the discussion forum.

Cheers,
Vahab