AFNI 3DUnifize error


3DUnifize throws error OSError: No command "3dUnifize" found on host. Please check that the corresponding package is installed. though afni is successfully installed. afni -help and 3dUnifize -help works well in bash shell. May I please get some guidance on this?

After running the below command -check_all
Output of above command
testing ability to start various programs... afni : success suma : success 3dSkullStrip : success : success 3dAllineate : success 3dRSFC : success SurfMesh : success 3dClustSim : success 3dMVM : success

checking for $HOME files... .afnirc : found .sumarc : found .afni/help/all_progs.COMP : found

You may be running it through some environment that doesn’t have the correct path set - matlab, R, python,… may use shells with alternative configurations than the one you use for the Check which shell you need to configure and modify the appropriate configuration file like .zshrc, .bashrc, .cshrc, …


ok so basically there was some configuration in .bashrc given in AFNI documentation specifically to wsl2

1 Like