WolframClientForPython icon indicating copy to clipboard operation
WolframClientForPython copied to clipboard

'Interpreter' Can't Feedback

Open Sun-ZhenXing opened this issue 3 years ago • 2 comments

When I test this:

from wolframclient.evaluation import WolframLanguageSession
from wolframclient.language import wl, Global, wlexpr
session = WolframLanguageSession(r'D:\Program Files\wolf\wolfram.exe')
session.evaluate('Interpreter["TeXExpression"]["2+2"]')

it never feedback and it can't stop, I don't know why, and how can I run it ?

Sun-ZhenXing avatar Sep 17 '20 15:09 Sun-ZhenXing

Did you try to run the command in the kernel first? On my machine the Wolfram Language code Interpreter["TeXExpression"]["2+2"] takes forever to evaluate.

I'll report this bug.

DbxDev avatar Sep 17 '20 15:09 DbxDev

I tested the following programs: (Windows10 x64 Wolfram 12.1.1)

math.exe
wolfram.exe
WolframKernel.exe
MathKernel.exe
wolframscript.exe

Completely normal, except for the first run with a few seconds of load stuck. But in Python, there is no feedback at all.

Sun-ZhenXing avatar Sep 18 '20 01:09 Sun-ZhenXing