Problem using MRtrix3Tissue alongside MRtrix3

Hello,

I’d like to use some functionalities of MRtrix3Tissue (ss3t_csd_beta1, specifically) while keeping MRtrix3 as the default source of commands.

I have installed MRtrix3 in /usr/local/mrtrix3 and everything works fine.

I then cloned the MRtrix3Tissue repository inside the mrtrix3 directory and I proceeded as following (after having set the path for the Qt library and installed Eigen3.3.9)

cd /usr/local/mrtrix3/MRtrix3Tissue
sudo ./configure 
sudo ./build

The configure and build processes were successful.

Now, back to my home folder all commands are referred to MRtrix3 and I can evoke a specific MRtrix3Tissue command specifying the full path.
As a matter of fact when I type /usr/local/mrtrix3/MRtrix3Tissue/bin/mrinfo I get the script referring to MRtrix3Tissue. When I type mrinfo I get the script referring to MRtrix3.
The problem comes with certain MRtrix3Tissue commands such as ss3t_csd_beta1 and dwifslpreproc, when I type them I get

/usr/local/mrtrix3/MRtrix3Tissue/bin/dwifslpreproc

Traceback (most recent call last):
  File "/usr/local/mrtrix3/MRtrix3Tissue/bin/dwifslpreproc", line 1124, in <module>
    import mrtrix3
  File "/usr/local/mrtrix3/MRtrix3Tissue/bin/mrtrix3.py", line 1, in <module>
    import imp, os, sys
ModuleNotFoundError: No module named 'imp'

The corresponding commands evoked from MRtrix3 work fine.
Can someone help me solving this issue?

Thank You

Solved by running those MRtrix3Tissue commands with python 2.7.18 rather than 3.13.0.

@Tomm-C Hey.. how do you do that?

I am facing same kind of error.

Traceback (most recent call last):
File “/home/pc/Downloads/MRtrix3Tissue-master/bin/dwibiascorrect”, line 66, in
import mrtrix3
File “/home/pc/Downloads/MRtrix3Tissue-master/bin/mrtrix3.py”, line 1, in
import imp, os, sys
ModuleNotFoundError: No module named ‘imp’

Any suggestions would be a great help.