… if you need to install python2, you can do it with ...
$ sudo apt install python2
$ which python2
/bin/python2
$ python2 --version
Python 2.7.18
One way or another you need “python” to report it is a 2.X version *after* you set FREESURFER_HOME and source the freesurfer setup script. To force “python” to run as “python2” you can try using an alias,
$ alias python=python2
$ python --version
Python 2.7.18
Similarly, if you needed python to run as python3 you could reset the alias to use =python3 instead.
For the error,
print 'ERROR: subjects are not specified (use --subjects SUBJECTS)’
I would check the subjects you are listing as argument can be found as directories under what SUBJECTS_DIR is currently set to.
- R.