quarto publish problem: can not start python3 kernel #2597
Replies: 4 comments 12 replies
-
I don't think the quarto executed on the command line and vscode settings are relevant. |
Beta Was this translation helpful? Give feedback.
-
I also add to pin |
Beta Was this translation helpful? Give feedback.
-
I too facing the same error. Any fix...? |
Beta Was this translation helpful? Give feedback.
-
I confirm this is fixed on my system with v1.3.159. Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Could you please help?
When Quarto was publishing new '.qmd' containing python codes, it stucked at 'Starting python3 kernel'. It appears that Quarto can't start python kernel.

figure 1.
However, when the python code cell is removed, the .qmd file can be published successfully. So, the problem should be correlated to the python kernel.
The path to the python kernel is right, however, Quarto just can't start the kernel. I have no idea what is going on.
figure 2. the python interpreter pathway in setting.json file.

figure 3. the pathway of the current running python interpreter in VSCode is exactly the same with the pathway in setting.json as in figure 1.

And it makes me more confused that the python code in this '.qmd' file can be run if I click the 'Run Cell ' button and it gives correct outputs.
figure 4 and 5. python code can give output correctly if the code cell is executed alone.

setting.json about python interpreter path is as following.
Beta Was this translation helpful? Give feedback.
All reactions