I solved the error after researching for whole 1day:
I rewrote the .tshrc file with
brew() {
local conda_env="$CONDA_DEFAULT_ENV"
while [ "$CONDA_SHLVL" -gt 0 ]; do
conda deactivate
done
command brew $@
local brew_status=$?
[ -n "${conda_env:+x}" ] && conda activate "$conda_env"
return "$brew_status"
}
I believe this sort of fixes should be known by support team, otherwise using a mac is bit complicated. I have seen lot of people facing these type of problems with the terminal.
Post
Replies
Boosts
Views
Activity
I did few steps and deactivated conda by
Step 1:conda deactivate
Step 2:conda config --set auto_activate_base False
But still error persists as on opening the terminal I'm getting
(eval):65: command not found: dirname
(eval):65: command not found: dirname
Can anyone please help me out?