If you're having issues with getting pyenv + poetry + quarto + vscode to work together, the solution is to set the QUARTO_PYTHON
environment variable to the location of the specific python version you want to use.
For instance, in bash we'd do the following within the project directory:
poetry shell
export QUARTO_PYTHON=$(which python)