<div dir="ltr">Hi,<div>I guess you need to define the path for the subject directory which is typically what you generate using freesurfer. I'm not sure if freesurfer works with the windows, in that case either you can shift to linux or create a linux virtual environment where you can install freesurfer and generate the required files.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 18, 2020 at 9:10 PM 刘 政 <<a href="mailto:outlook_E1019EAE083A5183@outlook.com">outlook_E1019EAE083A5183@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="ZH-CN">
<div class="gmail-m_446790835117095642WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi, It is my forst time using pysurfer.While I use Windows10, I have no idea if this is gonna make some effects on the usage. When I run the first example,
<b><i>plot_basics.pyp, </i></b>This error occurred to me</span><span lang="EN-US" style="font-size:12pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><u>‘’<span lang="EN-US">  </span></u><u><span lang="EN-US" style="font-size:12pt;font-family:SimSun">raise ValueError('The subjects directory has to be specified '<u></u><u></u></span></u></p>
<p class="MsoNormal"><u><span lang="EN-US" style="font-size:12pt;font-family:SimSun">ValueError: The subjects directory has to be specified using the subjects_dir parameter or the SUBJECTS_DIR environment variable.</span></u><u><span lang="EN-US">
</span></u><u>‘’<span lang="EN-US"><u></u><u></u></span></u></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">It seems that I should specify the subjects_dir while I don</span>’<span lang="EN-US">t know how to do it. Or is it because I</span>’<span lang="EN-US">m using windows?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">PS. Does the figure plotted by this package rorated by the mouse? I want to combine the fMRI images into a brain template, like brainstorm does. Do I chose the right pakage?</span><span lang="EN-US" style="font-size:12pt;font-family:SimSun"><u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-size:12.8px">Vivek</span><br></div></div></div></div></div></div></div></div></div>