External Email - Use Caution
Hello Raphaela, You probably installed the Intel Mac binaries to run on your Silicon Mac with an M1, M2, or M3 arm64 chip. But not all Intel code will run on the newer arm64 Macs. You instead need to download and install the Silicon Mac nightly freesurfer build. To remove your current freesurfer install, you can try running the uninstall script from the command line under what you set FREESURFER_HOME to, $ cd $FREESURFER_HOME$ sudo bash uninstall.sh Once you have removed your current freesurfer installation, you can download and try installing the development build arm64 pkg, https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/dev/freesurfer-macOS-... Right click with the mouse on the .pkg file and select “Open with —> install.app (default)". Then follow the prompts in the installer windows. You should be using the python distribution included in the Freesurfer distribution under $FREESURFER_HOME/python. The mri* commands that need python should automatically run it when those commands are issued on the command line, in a script, etc. You can also run it directly from the command line as “fspython” after you set FREESURFER_HOME and source the setup file for the shell you run in the terminal window, e.g., $ export FREESURFER_HOME=/Applications/freesurfer/dev$ source $FREESURFER_HOME/SetUpFreeSurfer.sh… output deleted …$ which fspythonfspython The freesurfer python (fspython) is python 3.8 and should include the necessary packages including a tensorflow package. If you use a different python, e.g., 3.11, with different package versions installed, etc.., then commands may not run or work correctly. - R. On Aug 9, 2024, at 15:39, Raphaela C <freepoemi@gmail.com> wrote: External Email - Use Caution Dear the Freesurfer community, I am trying to segment the sub-ROIs of the hypothalamus using the mri_segment_hypothalamic_subunits tool, but I keep getting an error that says "zsh: illegal hardware instruction." I ran the recon-all command first and then this segmentation command. The first time I tried to run this command, it didn't prompt me to install tensorflow, so I manually installed it, but I'm still getting this error. I am using a Mac OS Sonoma 14.1, python 3.11.6, and tensorflow Would appreciate any advice. Thanks!_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu