title: pyenv local/global not working on catalina
body: <p>I have a new MacBook with fresh installs of everything which I upgraded to macOS Catalina. I installed homebrew and then pyenv, and installed Python 3.8.0 using pyenv. All these things seemed to work properly.</p>
  
  <p>However, neither <code>pyenv local</code> nor <code>pyenv global</code> seem to take effect. Here are all the details of what I'm seeing:</p>
  
  <pre><code>thewizard@Special-MacBook-Pro ~ % pyenv versions
     system
   * 3.8.0 (set by /Usersthewizard/.python-version)
  thewizard@Special-MacBook-Pro ~ % python --version
   Python 2.7.16
  thewizard@Special-MacBook-Pro ~ % pyenv global 3.8.0
  thewizard@Special-MacBook-Pro ~ % python --version
   Python 2.7.16
  thewizard@Special-MacBook-Pro ~ % pyenv local 3.8.0
  thewizard@Special-MacBook-Pro ~ % python --version
   Python 2.7.16
  thewizard@Special-MacBook-Pro ~ % echo $PATH
   /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/thewizard/.pyenv/bin
  thewizard@Special-MacBook-Pro ~ % cat ~/.zshenv
  export PYENV_ROOT="$HOME/.pyenv"
  export PATH="$PYENV_ROOT/bin:$PATH"
  if command -v pyenv 1&gt;/dev/null 2&gt;&amp;1; then
     eval "$(pyenv init -)"
  fi
  </code></pre>
  
  <p>BTW there is no <code>/bin</code> in my .pyenv, I only added those commands per some other instructions but I'm planning to remove it because I think it is wrong:</p>
  
  <pre><code>thewizard@Special-MacBook-Pro ~ % ls -al ~/.pyenv 
  total 8
  drwxr-xr-x   5 thewizard  staff  160 Nov  2 15:03 .
  drwxr-xr-x+ 22 thewizard  staff  704 Nov  2 15:36 ..
  drwxr-xr-x  22 thewizard  staff  704 Nov  2 15:03 shims
  -rw-r--r--   1 thewizard  staff    6 Nov  2 15:36 version
  drwxr-xr-x   3 thewizard  staff   96 Nov  2 15:01 versions
  </code></pre>
  
  <p>It's worth noting that Catalina moved to zsh from bash, not sure if that's relevant here.</p>