command not found: dirname

Hello

Anytime I open my terminal, I get this.


__add_sys_prefix_to_path:6: command not found: dirname
__add_sys_prefix_to_path:7: command not found: dirname


Can I get some help?

MacBook Pro with Touch Bar

Posted on Jun 10, 2021 12:17 PM

Reply

Similar questions

7 replies

Jun 11, 2021 10:02 AM in response to Barney-15E

Thanks for your answer, I really appreciate it.

I'm very new to using the terminal and all so this confuses me a bit. However, this is what is in my .zshrc file. Maybe you could help me troubleshoot it and what to change?


export PATH=/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/abk/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/Users/abk/opt/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/Users/abk/opt/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/Users/abk/opt/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<


I would really appreciate the help.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

command not found: dirname

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.