title: ZSH: command not found but should be in PATH?
body: <p>This has been asked a thousand times, and I've run through a thousand suggestions and now have things more messed up than when i started, but i think i'm now to a place where maybe i can get it fixed if i can get pointed in the right direction</p>
  
  <p>I just switched over from terminal on my mac to (trying to run) zsh on iterm2 and i can't seem to get python scripts to run as expected, in terminal everything ran fine (i installed everything through anaconda)</p>
  
  <p>i'm sure it's something with my PATH variable, but I don't quite understand what is going on</p>
  
  <p>i can only get scripts to run if i source my bash profile and then run it through bash</p>
  
  <pre><code>&gt; echo $PATH
  ~/bin:/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
  &gt; python3 --version
  zsh: command not found: python3
  &gt; bash
  bash-3.2$ python3 --version
  bash: python3: command not found
  bash-3.2$ exit
  exit
  &gt; source ~/.bash_profile
  &gt; python3 --version
  zsh: command not found: python3
  &gt; bash
  bash-3.2$ python3 --version
  Python 3.6.4 :: Anaconda custom (64-bit)
  bash-3.2$
  </code></pre>
  
  <p>the only thing in my .bash_profile is:
  export PATH="~/anaconda3/bin:$PATH"</p>
  
  <p>any idea what i have messed up along the way? </p>
  
  <p>thanks</p>