(eval):66: command not found: dirname

468 Views Asked by At

After i set anaconda there is an error

Iterm error : (eval):66: command not found: dirname

################################## which python -> /opt/anaconda3/bin/python

which dirname -> /usr/bin/dirname

this is my .zshrc file. export CONDA_AUTO_ACTIVATE_BASE=false export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:$PATH export PATH=/opt/homebrew/bin:$PATH export PATH=/bin:/usr/bin:/usr/local/bin:${PATH}

but it still does not work.

1

There are 1 best solutions below

2
noname On

Try PATH="$PATH/{directory name}"