Hello, I don’t think there was a post regarding issues with zsh shell script so I figured I’d start a thread to get some feedback.
I was beginning the exercise on Brute Force Linear Regression here and having trouble getting miniconda3 to work on macOS Catalina. None of my conda commands would work on the terminal after installing. I think the installation process was interrupted somehow, causing it not to initialize?
I found a couple possible issues after some digging, hopefully someone can verify I’m on the right track:
- newest stable version of python is 3.8.4rc1, and (I think) is not compatable with miniconda3 – only versions 3.7 seem to work based on some other threads. I had to download 3.7 and make sure it was the default version (not 3.8). I checked using:
- since the default shell script on macOS Catalina is zsh instead of bash, I found the following steps are necessary here Essentially, there are 2 additional commands that need to be entered in the terminal before miniconda3 can work properly:
source <path to conda>/bin/activate
conda init zsh
After performing those 2 steps, I was finally able to use conda-related commands in the terminal.
If anyone can clarify on or confirm the above issues due to zsh shell script that would be great!