title: zsh: abort python error when I try to run the app in venv
body: <p>I setup Python 3.6 using <code>pyenv</code> so I could manage multiple Python versions (e.g. 3.7 and 3.8) in the future. I didn't use Homebrew to install Python since it changes the system version. It's my first time to use <code>zsh</code> shell since it's the default shell in Catalina OS. Currently, I use 3.6.8 version for my existing project.</p>
  <p>So here's my current setup:</p>
  <p><code>% pyenv versions</code></p>
  <p>result:</p>
  <pre><code>  system
  * 3.6.8 (set by /Users/macbook/.python-version)
    3.7.3
  </code></pre>
  <p><code>% python -V</code> results to <code>Python 3.6.8</code></p>
  <p><code>% which python</code> results to <code>/Users/macbook/.pyenv/shims/python</code></p>
  <p><code>% echo $PATH</code> results to <code>/Users/macbook/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</code></p>
  <p>The content of my <code>~/.zshrc</code> is <code>PATH=$(pyenv root)/shims:$PATH</code></p>
  <p>I created a virtual env using <code>% python -m venv venv</code>, installed all the necessary packages, and when I activate it and get the python path,</p>
  <pre><code>(venv) % python -V
  Python 3.6.8
  
  (venv) % which python
  /Users/macbook/python-project/venv/bin/python
  
  (venv) % echo $PATH
  /Users/macbook/python-project/venv/bin:/Users/macbook/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
  </code></pre>
  <p>Finally, when I try to run the app, I always get <code>zsh: abort</code> error:</p>
  <pre><code>(venv) % python app.py
  zsh: abort      python app.py
  
  (venv) % export FLASK_APP=app.py
  (venv) % flask run
  zsh: abort      flask run
  </code></pre>
  <p>I don't know what else is still missing or are there anything wrong with my python path?</p>
  <p>Thanks!</p>