External Email - Use Caution        

Hello Justin,

Depending upon the OS of the machine, there may not be a “python” installed by default on the system, i.e., you need to choose either python2 or python3.  Given some scripts may still look for “python”, then you can add an alias in your shell init file so “python” points to what’s available.

- R.

ubuntu20:~$ which python
ubuntu20:~$ which python2
ubuntu20:~$ which python3
/bin/python3
ubuntu20:~$ python3 --version
Python 3.8.10

ubuntu20:~$ alias python='python3'
ubuntu20:~$ python --version
Python 3.8.10


On Feb 6, 2023, at 00:53, Justin Oh <ohjp89@gmail.com> wrote:

        External Email - Use Caution        


Hi all, 

I am trying to run preproc-sess on a resting state MRI. I believe my directory is set the way it should be. There was an error that stopped the pipeline: env: python: No such file or directory

Could anybody help me out? 

All the best,
Justin Oh
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer