Building Quarto Website Project tries to use Python

Hello. I am trying to Render my Quarto website after not having touched it for some time. This weekend I installed the latest upgrade of R-studio (I am now on 2026.01.1 Build 403) and today when trying to Render a document, or Render my website, I get this error:

ModuleNotFoundError: No module named 'yaml'
Python 3 installation:
Version: 3.13.3
Path: C:/Python313/python.exe
Jupyter: (None)

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

I have tried to force the use of knitr by adding this to my _quarto.yml file:

project:
type: website
output-dir: docs

execute:
engine: knitr

...but this does not solve the problem.

Any help will be much appreciated!

For anyone coming across this: The cause of this issue was a code chunk for a bash command indended for display, but it was not marked with eval = FALSE, and so the rendering process wanted to run it and thus tried to run Python. After I set the code chunk not to evaluate, I was able to fix the problem