WolframClientForPython icon indicating copy to clipboard operation
WolframClientForPython copied to clipboard

Call Wolfram Language functions from Python

Results 12 WolframClientForPython issues
Sort by recently updated
recently updated
newest added

Hello, Is there any way to abort kernel computations without closing the session entirely?

I use a Wolfram session to compute the integrand in the Vegas algorithm in Python. I use MPI to call a session in each core on a high-performance cluster. Before...

e.g. `Table[Values[i], {i, WordData["motorbus", "Synonyms"]}]` Id like to have a python List.. As of now I am doing it like this (which seems very hacky) ```python raw_results = evaluate('ExportString[Table[Values[i], {i,...

```python logging.basicConfig(level=logging.DEBUG) pool: WolframEvaluatorPool = WolframEvaluatorPool(poolsize=10) while True: await asyncio.sleep(1) ``` On checking the logs we will observe the error mentioned in the subject and if we double check the...

In [1]: from wolframclient.evaluation import WolframLanguageSession In [2]: from wolframclient.language import wl, wlexpr In [3]: session = WolframLanguageSession('/opt/WolframEngine/12.1/Executables/WolframKernel') In [4]: session.evaluate(wl.WolframAlpha("number of moons of Saturn", "Result"))

**My Environment:** Activated MMA 12.0 works correctly on my Ubuntu 16.04 system. **I install WolframClient with following code:** ``` pip install wolframclient -i https://pypi.doubanio.com/simple ``` **Then I execute following codes...

![wolframClientBugScreenshot](https://user-images.githubusercontent.com/39414522/113328540-0ccda500-92e2-11eb-8284-acfa186127f2.png) I can run the same code with Line 11 in windows10, but when I move to Pop!_OS(linux distro built on ubuntu) it is unable to locate the kernel. I...

Bumps [pygments](https://github.com/pygments/pygments) from 2.2 to 2.7.4. Release notes Sourced from pygments's releases. 2.7.4 Updated lexers: Apache configurations: Improve handling of malformed tags (#1656) CSS: Add support for variables (#1633, #1666)...

dependencies

When I test this: ```python 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...

wolfram language bug

Consider the following ``` KERNEL_PATH = '/opt/Mathematica/bin/WolframKernel' import wolframclient.evaluation as w_evaluation _ = 'Times[Exp[Times[Global`thetarho12, Plus[Times[0.5, Global`thetarho12, Plus[Power[Quantile[NormalDistribution[0, 1], Plus[1., Times[-1, CDF[NormalDistribution[Times[Plus[Exp[Times[-1, Global`thetatheta1, Global`thetax]], Times[-1, Exp[Times[-1, Global`thetatheta2, Global`thetax]]]], Global`thetatheta1, Power[Plus[Global`thetatheta2, Times[-1,...

enhancement