External Email - Use Caution        

It looks like you did not use the .pkg file installer to install Freesurfer on 
the Mac, otherwise you would have a path like /Applications/freesurfer/7.4.1 to 
use as FREESURFER_HOME.  The installer should ensure the privileges should 
be correct to run commands.   There are several 7.X freesurfer releases, 
but the latest release is 7.4.1 and you can download it via the link, e.g.,
https://secure-web.cisco.com/1bTTDiznaFEJgJPDoi2yskrFqRdt_lNsr8LZ0PFjdBlc19JuHE6WaWHssFDdzwRLVMRUHA3qj7h4ea64BhZk97t2IniNpnSEBUfevruwnZRT-WXrHBzlmbnxwfB-eUVqRKZYuKEwgZupdFOKnrwiz0xxPKw5DTxfL31t8mtljoZBWCtHjo8uXtSylGlGyZRzw2b6Kjz5JBf1zzrJTR_GSBoP7UPjKW3-cqENylh36UvAaYHpdFnPoZ4CrWPzQwkw7vmD7cmQcG6jBsy_w7nUkvkrhCZTYVfLg5BUluX8L0H85LGn_CikykHFVbAsE-L8Zih6Q9g6D25IvisceU2Rl_g/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fpub%2Fdist%2Ffreesurfer%2F7.4.1%2Ffreesurfer-macOS-darwin_x86_64-7.4.1.pkg
I would first remove what you have on your system from the terminal window with,
$ sudo rm -rf /Applications/freesurfer
Then in a Finder Window navigate to the Downloads folder (or to wherever you 
downloaded freesurfer-macOS-darwin_x86_64-7.4.1..pkg).  You should be able 
to RIGHT CLICK on that file, select open with the default pkg installer, and 
then enter your password etc. to install it.  Right clicking should bypass 
having to do some of the security exemptions in system preferences.
Once the install is complete, setup the Freesurfer environment in the terminal 
window,
$ export FREESURFER_HOME=/Applications/freesurfer/7.4.1$ source 
$FREESURFER_HOME/SetUpFreeSurfer.sh-------- 
freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460 --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /Applications/freesurfer/7.4.1
FSFAST_HOME       /Applications/freesurfer/7.4.1/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /Applications/freesurfer/7.4.1/subjects
MNI_DIR         
  /Applications/freesurfer/7.4.1/mni
You also need a license file, license.txt.  Once you complete the license 
request form 
at https://secure-web.cisco.com/1Svw39fuKLV2rL8mAOfpPDMZrLLodE_ScR0sKC5od9QRlt9jwKuDUSQ6WtLlT9V17W1wUaBdznmlv7nMRbyPA6LYSYXyCAnP8F-Tuz_VE6STeVAxkh40QhJ8_Hz3w6xgC49SELup9uGscJnea_a5_YfPe4v_s5sGckdUErRUBLgOMN41ow4CikTKbC-IfUIre0ikhv0rLYF0iFjK9EZGFCuzHN7-z5cvA1mPBIjRTyGJsmV-behjR7Zpaho6a5uOuq1I4CB61WxtecgERQIEuY6PCEpMSMO1vfX-v7GEXY61w_SZ_5yg0kRQoolU2kwNaTPReDO7q7kH9B3AAFtRMPQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Fregistration.html%26nbsp;you
 will receive a file “licesne..txt” via the email address used in the form. 
  Download/copy the license.txt file to your machine from the email.
If your home directory is for example /Users/hyejung then you will see the 
following in the terminal window,
$ cd$ pwd/Users/hyejung$ echo $HOME/Users/hyejung
… if you downloaded license.txt into your Download folder ...
$ cd Downloads$ ls license.txtlicense.txt$ cp -p -f  license.txt 
 $HOME/.$ cd $HOME$ ls license.txtlicense.txt
You could also use the Finder to navigate and drag/drop the license.txt into 
your home directory.   Once it it there, set the environment variable 
FS_LICENSE so freesurfer commands will find the license when they run,
$ export FS_LICENSE=$HOME/license.txt
Then it should work to run freesurfer commands from the terminal window 
including freeview.
- R.

On Jan 16, 2024, at 20:47, 윤혜정 <hyejung7...@amc.seoul.kr> 
wrote:        External Email - Use 
Caution        Good day.When I run 
recon-all for my nii files I get either one of the following error 
messages:1. ERROR: could not configure recon-all parameters 
Killed 2. ERROR: could not configure recon-all 
parameters /Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: cannot execute binary 
file /Applications/freesurfer/bin/fspython: line 20: 
/Applications/freesurfer/python/bin/python3: Undefined error: 0Or 3. a Pop 
Up message "_struct.cpython-38-darwin.so" cannot be opened because the 
developer cannot be verified. mac OS cannot verify that this app is free 
from malware. I googled the third error message and tried "Allow 
anyways" from the privacy setting. Then the next message pops up, 
then the next and the next. Could you please help me to understand the 
cause of the above 3 error messages? I tried to redownload freesurfer as 
well as python but none worked. Thank you in 
advance. Best,Alice_______________________________________________Freesurfer
 mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://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
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. 

Reply via email to