3

I am using ExternalEvaluate in Mathematica 12.3.1.0 to do a computation with Jupyter and sagemath as kernel. Everything works fine if the computation finishes within 15 seconds, otherwise I get the error:

enter image description here

while the python process still runs until it is finished.

Looks like ExternalEvaluate waits only 15 seconds for a result? Is there no way to set the timeout to Infinity?

Thank you.

  • I don't reproduce the 15 second cutoff. For example ExternalEvaluate["Python", "import time\ntime.sleep(25)\ntime.gmtime()"] returns a result after 25 seconds for m – Jason B. Oct 14 '21 at 17:48
  • The Python example returns after 25 seconds for me as well. So this seems to be specific to external Jupyter sessions. – Grobi Grobsen Oct 14 '21 at 18:08

0 Answers0