Hi. I am very new to this program. I tried to download the program on my Mac, but it is not working. It states: Please find the file “/Users/dominicvhoule/Downloads/install_sct_log.txt”,
then upload it as a .txt attachment in a new topic on SCT’s forum:
[install_sct_log.txt|attachment]
install_sct_log.txt (641 Bytes)
(upload://vYuaKzaGxhtQawD6VKC6pprwJKP.txt) (641 Bytes)
I used these commands:
- Commands and terminal output. (What are the exact commands you used? Please copy and paste the full output of the command from your terminal.)
I installed homebrew and ran the gcc and then ran the code stated:
cd ~/Downloads
bash install_sct-_macos.sh
- System information. (Please run the command “sct_check_dependencies” in your terminal, then copy and paste the output.)
The output was:
bash: sct_check_dependencies: command not found
- File upload. (Please upload any data or scripts needed to reproduce your issue, if there are any.) →
I uploaded the txt file…
Thank you so much for your help
Dear @dominicvhoule,
Thank you for reporting this issue. Our apologies for this inconvenience, but we’d be happy to help get SCT working for you. 
We have received similar reports in the past. Please follow the guidance in this previous issue to address the error: Installation for SCT version 6.2 failed (with macOS Sonoma 14.3) - ".bash_profile: Permission denied"
Specifically, you will want to run the chmod and chown commands so that the .bash_profile
file has the correct permissions.
chmod +r ~/.bash_profile
sudo chown dominicvhoule ~/.bash_profile
Please let us know if you have any further questions or concerns.
Kind regards,
Joshua
install_sct_log.txt (89.8 KB)
Hi Joshua. Thank you for the help. It seems like the code is still not working correctly. Am I doing something wrong?
Dear @dominicvhoule,
Thankfully, we have made some progress! The installer completed most of its steps, meaning that you have a (mostly) working installation of SCT.
The only step that failed was the last step of the installer (i.e. the step that makes sure that the SCT commands are available to run in your terminal).
To save you from having to rerun the installer all over again, I will show you how to do that “last step” yourself. Please run the following commands in your terminal:
# 1. fix permissions
chmod +rw ~/.zshrc
sudo chown dominicvhoule ~/.zshrc
# 2. make SCT scripts available on the PATH
export SCT_DIR="/Users/dominicvhoule/sct_6.5/"
echo "export PATH=\"$SCT_DIR/bin:\$PATH\"" >> ~/.zshrc
echo "export SCT_DIR=\"$SCT_DIR\"" >> ~/.zshrc
# 3. load the changes into your terminal
source ~/.zshrc
# 4. check the SCT installation
sct_check_dependencies
This will 1) fix the permissions on the ~/.zshrc
file, 2) add the changes to the end of the ~/.zshrc
file, 3) load the changes into your terminal, and finally 4) check the SCT installation to see if everything went OK.
Please let me know if this works for you. 
Kind regards,
Joshua
Hi Joshua,
This seems to have worked! Thank you so much for your help. I will be in contact in case anything persists.
Have a great day.
I’m so glad to hear that it worked! And yes, absolutely feel free to continue to use the forum for any questions or concerns you may have when using SCT. 