python and R in quarto

I am not able to render python code chunk in quarto. But I am able to run the python code chunk in visual mode.

able to run on visual mode:

Render error message:

index.qmd code:


title: "Welcome To My Blog"
author: "test"
date: "2022-09-15"
categories: [news]

Hello.

a=1
a
b=1
b

Can you run quarto check in the terminal of your RStudio and post the results?

I think the problem is that I am using anaconda. When I uninstall anaconda and install native python then the problem is solved.

There is the result :

C:\Users\ThinkPad\Desktop\mission 2022\tidystep>quarto check

[>] Checking Quarto installation......OK
Version: 1.1.189
Path: C:\Users\ThinkPad\AppData\Local\Programs\Quarto\bin
CodePage: 936

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
Version: 3.8.5 (Conda)
Path: C:/Users/ThinkPad/anaconda3/python.exe
Jupyter: 4.6.3
Kernels: python3

[>] Checking Jupyter engine render....OK

[>] Checking R installation...........OK
Version: 4.2.1
Path: C:/PROGRA~1/R/R-42~1.1
LibPaths:

  • C:/Users/ThinkPad/AppData/Local/R/win-library/4.2
  • C:/Program Files/R/R-4.2.1/library
    rmarkdown: 2.16

[>] Checking Knitr engine render......OK

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.