Difficulty installing ANFI on M2 macOS ventura 13.2.1

Hi there,

I am receiving the following error (among others that won't fit in this post) after trying this command: tcsh OS_notes.macos_12_ARM_b_user.tcsh. Any tips on how I can fix this would be greatly appreciated. Thank you.

checking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURE
Error in dyn.load(ll) :
unable to load shared object '/Users/emmapineau/abin/R_io.so':
dlopen(/Users/emmapineau/abin/R_io.so, 0x0006): tried: '/Users/emmapineau/abin/R_io.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/emmapineau/abin/R_io.so' (no such file), '/Users/emmapineau/abin/R_io.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Calls: source ... withVisible -> eval -> eval -> set_R_io -> dyn.load
Execution halted

Howdy-

That looks like a mismatch of Intel-chip and ARM/M2-chip software and hardware, which is odd to see.

What is the output of:

afni_system_check.py -check_all

?

thanks,
pt

Looks like you have an intel cpu.
Try these instructions:

https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/background_install/install_instructs/steps_macOS_12_Intel.html

Yes, I guess I was wondering if you do have an M2 macOS, as noted in the title, from that error message.

Could you please display:

afni_system_check.py -check_all

... which will help display about that?

thanks,
pt