How to select a conda environment when running Quarto Shiny in Python

I'm struggling at pointing RStudio to my conda environment containing all packages necessary for running my Quarto Shiny app written in Python. I successfully specify my QUARTO_PYTHON env variable like this in my RStudio Terminal:

export QUARTO_PYTHON=<path/to/my/python

quarto check in the RStudio Terminal shows the correct python version and finds Jupyter as well.

However, when trying to run my Shiny App via Run Document I get the following error, indicating that somehow the wrong python version is being used:

ModuleNotFoundError: No module named 'nbformat'
Python 3 installation:
  Version: 3.9.16
  Path: /usr/bin/python3
  Jupyter: (None)

Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter

What would be the correct way to specify my python version?