I installed AFNI but when I enter the command ‘afni_system_check.py -check_all’ , I get a message reading ‘env: python: No such file or directory’. So, I am able to launch AFNI but when I use the command ‘uber_subject.py’ I am not able to proceed with my analysis.
I have checked whether python is installed correctly by using the command ‘which python3’. I even tried to add python to my system’s path using the command
echo ‘export PATH=“/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH”’ >> ~/.zshrc_profile
I believe the issue is that the Python programs are referred to with “python”, not “python3”. Could you please try copy+pasting the following in a terminal:
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.