Dear all,
I am trying to preprocess data and receive the following problem "env: python: No such file or directory" once AFNI should apply "align_epi_anat.py" in my preprocessing script. The same problem appears when using SSwarper. From my understanding, the problem basically appears everytime AFNI has to use Python.
In this topic [
afni.nimh.nih.gov] people reported the exact same problem.
Now an interesting fact: I used the same script on the same data before without any problem. What has changed on my system meanwhile? I think that I updated AFNI, homebrew, and the Mac OS once, while the Python version remained the same (as far as I can remember). As I see, other people suddenly face the same problem.
This means that something has changed and AFNI cannot regocnize or find Python anymore. Its like Python does no longer exist for AFNI.
The output of
afni_system_check.py -check_all
is
env: python: No such file or directory
The output of
python -V
is
Python 3.10.4
I am not running Miniconda or any compareable tool. Is there a possible fix for this problem without using extra tools, such as Miniconda? I would like to keep it plain and simple (if that makes sense to you), since it worked before like this too. I am on a Macbook M1 with version 12.3.1 Monterey.
Thanks,
Philipp
Edited 1 time(s). Last edit at 04/03/2022 12:24PM by Philipp.