plot_read_foward.py and plot_make_forward.py error

Hi MNERs,
When I run the code, plot_read_forward.py,
fig1 fig2 can be plotted correctly. However, an error raised,

hi Junpeng,

I assume you work on a windows machine. To allow parallel computing
you need to start the functions using "if __name__ == '__main__'".

Your script should look something like this:

if __name__ == '__main__':
    import mne
    mne. ...

HTH
Alex

Hi Alex,

Thank you for your quick response.
I will try your suggetions.

May I ask you
what is the matter with my first question:
" ImportError: No module named surfer ".
When I run the example code plot_read_forward.py,
such error raised.

Best wishes,
Junpeng

2014-10-30

junpeng.zhang

???Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr>
???2014-10-30 14:54
???Re: [Mne_analysis] plot_read_foward.py and plot_make_forward.py error
???"Discussion and support forum for the users of MNE Software"<mne_analysis at nmr.mgh.harvard.edu>
???

hi Junpeng,

I assume you work on a windows machine. To allow parallel computing
you need to start the functions using "if __name__ == '__main__'".

Your script should look something like this:

if __name__ == '__main__':
    import mne
    mne. ...

HTH
Alex

Hi Junpeng,

You need install the PySurfer-package, e.g.

pip install pysurfer

Best,
Chris
Aarhus, Denmark