Glam Prestige Journal

Bright entertainment trends with youth appeal.

On my Ubuntu 20.04 I try to open "qdec" of "freesurfer" and get the following error:

Tk_Init error: Can't find a usable tk.tcl in the following directories: /home/username/tcl8.4.6/tk8.4 /home/username/freesurfer/freesurfer/lib/tk8.4 /home/username/freesurfer/lib/tk8.4 /home/username/freesurfer/freesurfer/library /home/username/freesurfer/library /home/username/freesurfer/tk8.4.6/library /home/username/tk8.4.6/library
This probably means that tk wasn't installed properly.

the rest of freesurfer works (e.g. "freeview") and I am not able to find out how to fix this problem. I think I should somehow install tk8.4.6 in one of the directories it is searching for it or link the directory to an installed version, but I am not sure how to do it. Could someone help me?

edit: freesurfer is a neuroimaging toolbox and qdec is a specific programme of this toolbox. I attached the wiki of the toolbox and the page where I found out about the qdec gui.

freesurfer wiki:

qdec introduction:

I installed freesurfer version freesurfer-linux-centos6_x86_64-7.2.0-20210720-aa8f76b

3

1 Answer

After inspecting my folders I realized, that freesurfer was looking in the lib path but not in lib/tktools so I copied everything from the lib/tktools folder into the lib folder, as I did not know how to change the folders it was searching. Now I can run the qdec gui.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy