AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
April 03, 2022 12:11PM
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.
Subject Author Posted

env: python: No such file or directory

Philipp April 03, 2022 12:11PM

Re: env: python: No such file or directory

ptaylor April 03, 2022 01:56PM

Re: env: python: No such file or directory

Philipp April 03, 2022 02:00PM

Re: env: python: No such file or directory

Philipp April 03, 2022 02:42PM

Re: env: python: No such file or directory

ptaylor April 03, 2022 03:52PM

Re: env: python: No such file or directory

ptaylor April 03, 2022 03:51PM

Re: env: python: No such file or directory

Philipp April 03, 2022 04:02PM

Re: env: python: No such file or directory

Philipp April 04, 2022 03:16AM

Re: env: python: No such file or directory

rick reynolds April 04, 2022 10:05AM

Re: env: python: No such file or directory

ptaylor April 04, 2022 10:10AM

Re: env: python: No such file or directory

Philipp April 04, 2022 01:00PM

Re: env: python: No such file or directory

ptaylor April 04, 2022 01:48PM

Re: env: python: No such file or directory

Philipp April 04, 2022 01:53PM

Re: env: python: No such file or directory

Philipp April 05, 2022 03:13AM

Re: env: python: No such file or directory

Philipp April 05, 2022 07:10AM

Re: env: python: No such file or directory

ptaylor April 05, 2022 09:54AM

Re: env: python: No such file or directory

Philipp April 05, 2022 09:59AM

Re: env: python: No such file or directory

ptaylor April 05, 2022 10:44AM