External Email - Use Caution
Dear Yujing
It worked. Thank you so much for your time
Regards K Eswar
On Tue, Oct 10, 2023 at 7:48 PM Huang, Yujing YHUANG43@mgh.harvard.edu wrote:
External Email - Use CautionCan you try to source your Freesurfer environment?
For tcsh or csh,
setenv FREESURFER_HOME <freesurfer_installation_directory>/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.csh
For bash,
export FREESURFER_HOME=<freesurfer_installation_directory>/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.sh
Best,
Yujing
*From:* freesurfer-bounces@nmr.mgh.harvard.edu < freesurfer-bounces@nmr.mgh.harvard.edu> *On Behalf Of *K Eswar *Sent:* Monday, October 9, 2023 1:59 AM *To:* freesurfer@nmr.mgh.harvard.edu *Subject:* [Freesurfer] mri_synth functions errors
External Email - Use Caution *Hello Freesurfer Developers,
I am attempting to process mri_synthseg,mri_synthsr,mri_synthstrip and it shows the following error
For mri_synthseg and mri_synthsr:
Traceback (most recent call last): File "/home/sgbc/freesurfer/python/scripts/mri_synthseg", line 10, in
<module> import surfa as sf ModuleNotFoundError: No module named 'surfa'
For mri_synthstrip
Traceback (most recent call last): File "/home/sgbc/freesurfer/python/scripts/mri_synthstrip", line 5, in
<module> import torch ModuleNotFoundError: No module named 'torch'
I am using linux operating system_Ubuntu 22.04.2 LTS
I have recently installed infant freesurfer and I don't know if the problem is following to it as I expect path might have been changed
I tried looking for these errors in the forum, however I did not find the fix.
Thank you for your time and consideration
Kind regards
K Eswar
Project scientist
Sudha Gopalakrishnan Brain Centre
IIT Madras, India
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1o3NhQvsyUZN14AJJUYOPPUJZEm-DEbIFlgFLPay6GD988E... 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://secure-web.cisco.com/1_4WCKJ7ICCWnkoSI-xXque6QvTKszuVpzK2WIpue65TMQs... < https://secure-web.cisco.com/1_4WCKJ7ICCWnkoSI-xXque6QvTKszuVpzK2WIpue65TMQs... .