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 04, 2022 03:16AM
Paul,

I googled a bit more and found out that many people have this problem since the latest big Mac OS update when Python 2.7.16 was removed from the OS. This problem is not just related to AFNI or caused by AFNI, as you already pointed out, but the problem appears with all kinds of programs that use Python.

One solution is to simply reinstall Python 2.7.16 (the version that came with Mac OS by default). For example, one can use the following solution using homebrew: [github.com]
Maybe this helps out other people in here. You don't even have to use miniconda then.

I used this solution and it everything seems to work fine again. Using the command "python -V" prints

Python 3.10.4

This means that my shell/terminal uses the current version of Python, i.e., it is linked correctlly. But it appears that AFNI internally somehow still tries to link itself with Python2, since the problem no longer appears once I additionally reinstalled Python2 on my system. As you know, I am not a professional on this topic, so this is just based on my assumption.

In case you know about an even cleaner solution (instead of using 2 parallel versions of Python on my computer), and if you have some further thoughts, please let me know.

Thanks,
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