External Email - Use Caution
Good afternoon,
I’m trying to run “tkregister2” in the following code for a manual registration correction: tkregister2 --mov ./fMRI_run1.nii.gz --reg ./Reg.lta --surfs --sd ${SubjectsFolder}
The above command works fine in older versions of FreeSurfer, but with the new version that I have, I’m getting the following error:
Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/pubsw/packages/tcltktixblt/current/lib/tcl8.4 This probably means that Tcl wasn't installed properly.
I get the same error with "tkregisterfv". Here’s more info about my system, in case it helps. OS: Linux Ubuntu 18, FreeSurfer version: freesurfer-linux-ubuntu18_x86_64-7.4.1-20230614-7eb8460, Python version: Python 3.11.4, FSL version: 6.0.7.1
Please let me know if there's a known solution for this issue.
Thank you,
Negin
Yes, we have depricated the TclTk stuff. You should not have gotten that error when using tkregisterfv. Can you send the command line and full terminal output?
On 9/19/2023 7:02 PM, Nadvar, Negin wrote:
External Email - Use Caution
Good afternoon,
I’m trying to run “tkregister2” in the following code for a manual registration correction:
/tkregister2 --mov ./fMRI_run1.nii.gz --reg ./Reg.lta --surfs////--sd ${SubjectsFolder}/
The above command works fine in older versions of FreeSurfer, but with the new version that I have, I’m getting the following error:
/Tcl_Init failed: Can't find a usable init.tcl in the following directories:/
////usr/pubsw/packages/tcltktixblt/current/lib/tcl8.4///
/This probably means that Tcl wasn't installed properly.///
I get the same error with "tkregisterfv". Here’s more info about my system, in case it helps. *OS*: Linux Ubuntu 18, *FreeSurfer version*: freesurfer-linux-ubuntu18_x86_64-7.4.1-20230614-7eb8460, *Python version*: Python 3.11.4, *FSL version*: 6.0.7.1
Please let me know if there's a known solution for this issue.
Thank you,
Negin
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu