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-darwin_arm64-dev-20240805.pkg 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 <freepo...@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 mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.