Replies: 2 comments 8 replies
-
Without seeing the actual code that is triggering the issue, it is very hard to diagnose the reason. Can you share an example we could use to better understand the issue? |
Beta Was this translation helpful? Give feedback.
-
Hi @cscheid, The path quarto was using was different from what jupyter notebook was using. The following is the previous path quarto was using: I used the following code to change the path: The updated quarto path was the following: The only thing is it is showing Python~1 [red underline] instead of Python310 as mentioned in the path. Is this the problem? If yes, how could we change it to the correct path? The jupyter path also showed was same: But after running the code, the time taken by quarto is still the same: It still didn't change much! Quarto is still taking a long time for the execution of the same code. I am unable to figure out the error. Please let me know your thoughts. Another thing I wanted to point out is that PyCharm used the same python path and version as what quarto used earlier. But still, the execution time of Pycharm for the same code is much faster than quarto [old python path] If the python path would've been the error, it should've made the PyCharm IDE work similarly to the quarto in terms of speed of the execution. Still, PyCharm works very similar to Jupyter in terms of speed execution despite having different python paths. So, is this a Quarto issue in particular or something else? |
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.
-
The issue that we see is that Quarto takes a significantly longer time in executing a Python code chunk when compared to running Python script on Rstudio, Jupyter notebook or PyCharm.
Below is the time taken to execute them on two different windows machines with 8GB RAM and a processing speed of 2.1GHz.
Why is Quarto taking a much longer time? Can you please help us with this? Our goal is to use one system for developing codes using both R and Python
Please Run this code in a quarto document inside a python chunk
quarto speed check.txt
Beta Was this translation helpful? Give feedback.
All reactions