Zsh: Conda/Pip installs command not found

Architek1 picture Architek1 · Jul 24, 2015 · Viewed 99.4k times · Source

So I installed Anaconda and everything is working. After I installed it I decided to switch to oh-my-zsh. I am now getting:

zsh: command not found: conda

when trying to use pip or conda installs

echo $ZSH_VERSION

5.0.5

I have added to my zshenv.sh

export PATH ="/Users/Dz/anaconda/bin:$PATH"

What is it that I'm missing?

Answer

Benchur Wong picture Benchur Wong · Apr 26, 2019

I found an easy way. you can try to test it.

Just follow below steps as I show:

First, in terminal, enter

vim ~/.zshrc

add

source ~/.bash_profile

into .zshrc file

and then in terminal, enter

source ~/.zshrc

Congratulation for you.