External Email - Use Caution        

Hi Devika,

I ran into the same issue and in case you don’t want to change your PATH (like me), another option is to edit aparcstats2table script and simply replace the shebang from “#!/usr/bin/env python” to e.g. “#!/usr/bin/env python2” (please make sure “which python2” returns something in a terminal).
Cheers
Antonin

On 19 Jan 2020, at 20:35, Hoopes, Andrew <AHOOPES@mgh.harvard.edu> wrote:

Hi Devika, the python scripts (like aparcstats2table) in 6.0 unfortunately must be run with python2. Your error implies that the python in your PATH points to python3. You should make sure python points to a python2 version before running freesurfer. Sorry for the inconvenience.
Andrew
 
 
From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Devika K <devikakuttala@gmail.com>
Reply-To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Date: Sunday, January 19, 2020 at 9:09 AM
To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] aparcstats2table error
 

        External Email - Use Caution        

I tried doing cortical parcellation using Destrieux atlas.  I ran the aparcstats2table command from the SUBJECTS_DIR directory containing all of the output from recon-all.
But I got an error, PFA. Do I need to run any other commands before running aparcstats2table command, I would be grateful if anyone could  help me to resolve this issue.
 
Many thanks in advance.
Image removed by sender.
Regards
Devika K
Research Scholar, Dept of EEE
Amrita Vishwa Vidyapeetham
Coimbatore, India
 

Hôpital Erasme

Lien vers Disclaimer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer