Dwicat not work

Dear experts,
my dwicat file not work in mac’s terminal. When I type ‘python3 dwicat’ in /usr/local/mrtrix3/bin directory, it works. How can I run it directly?

/Library/Frameworks/Python.framework/Versions/3.10/bin/python3: can't open file '/Users/wstae/dwicat': [Errno 2] No such file or directory

This sounds identical to this issue. Have you tried any of the fixes I’d suggested on that topic?

Cheers,
Donald.

Thank you Donald.
I’ve solved the problem (Error with "dwi2response") by the command below.

------------ How can I still add executable files to my path?

Local customizations, such as what you’re doing, belong in /usr/local instead. The path /usr/local/bin doesn’t exist by default, but you can create it and put custom binaries (and symlinks) in it:

sudo mkdir -p /usr/local/bin
sudo ln -s /my_python3_path   /usr/local/bin/python
1 Like