[Neuroimaging] Seeking help in pysurfer installation

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Thu Feb 9 03:06:34 EST 2017


hi,

you should post this as an issue on the MNE issue tracker on github.

It can be a mismatch between the pysurfer version and mne-python.

Alex


On Wed, Feb 8, 2017 at 9:01 PM, Valliappan C A <spmanikam at gmail.com> wrote:
> Hello
> I'm facing a problem while executing this command "brain =
> stc_mean.plot(hemi='lh', subjects_dir=subjects_dir)" of the code link .
> the error that is displayed is :
>
> The time_unit parameter default will change from 'ms' to 's' in MNE 0.14. To
> avoid this warning specify the parameter explicitly.
> __main__:1: DeprecationWarning: The time_unit parameter default will change
> from 'ms' to 's' in MNE 0.14. To avoid this warning specify the parameter
> explicitly.
> Traceback (most recent call last):
>
>   File "<ipython-input-28-79c2c651899e>", line 1, in <module>
>     brain = stc_mean.plot(hemi='lh', subjects_dir=subjects_dir)
>
>   File "/home/prr/my_project/mne-python/mne/source_estimate.py", line 1334,
> in plot
>     time_unit=time_unit)
>
>   File "/home/prr/my_project/mne-python/mne/viz/_3d.py", line 784, in
> plot_source_estimates
>     config_opts=config_opts)
>
>   File "/home/prr/miniconda2/lib/python2.7/site-packages/surfer/viz.py",
> line 459, in __init__
>     brain = _Hemisphere(subject_id, **kwargs)
>
>   File "/home/prr/miniconda2/lib/python2.7/site-packages/surfer/viz.py",
> line 2511, in __init__
>     **geo_kwargs)
>
> TypeError: surfacefactory() argument after ** must be a mapping, not unicode
>
> I have installed pysurfer and its dependencies as in the document. Imported
> all the packages once to cross-verify and it worked. but still I'm getting a
> error  can some one help me with this .
> --
> Valliappan.C.A
> BITS PILANI K K BIRLA GOA CAMPUS
> Contact: +91-8378988093
>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>


More information about the Neuroimaging mailing list