External Email - Use Caution        

Hello, I am trying to do some preliminary analysis of a longitudinal dataset, following the tutorial.

I am running FS on Ubuntu 20.04 and freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0-2beb96c

I have finished  processing the dataset; to prepare the data for the statistical analysis, I am running this command.

long_mris_slopes --qdec long.qdec.table.dat --meas thickness --hemi lh --do-avg --do-rate --do-pcl --do-spc --do-stack --do-label --time years --qcache fsaverage --sd $SUBJECTS_DIR

But I get the following error-
File "/opt/softwarepackages/freesurfer/bin/long_mris_slopes", line 448
    print '\nERROR: Specify --qdec (and other required arguments)\n'
          ^
SyntaxError: invalid syntax

I tried (as sudo) fixing the typo in the script, but that didn't help!!
I tried switching from python version 3 to 2 [a previous post on this issue had recommended the solution], but that didn't help.

I would appreciate any inputs on how to fix this issue.

Thank you.