Questions tagged [wolfram-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Mathematica Client Library for Python sometimes can't communicate with Kernel

I have been using the Mathematica client library for Python, but it errors at random some times when running the program, returning: wolframclient.exception.WolframKernelException: Failed to ...
Vibbbb's user avatar
  • 1
0 votes
0 answers
62 views

Some typical symbolic mathematica code in python with the help of Wolfram Client Library for Python

I have downloaded wolfram library in my vs code and ran few common seeing Wolfram Client Library for Python e.g: ...
Ri-Li's user avatar
  • 101
3 votes
0 answers
151 views

Can Mathematica's Minimize() function be called inside Python code using Python data?

Summary: I would like to use the Wolfram Client Library for Python to invoke Mathematica's Minimize function directly from within Python, passing to it Python data structures. Details: I have a Python ...
Neil Fazel's user avatar
3 votes
1 answer
118 views

WolframClient output convert to python complex array

I encountered the following issue with WolframClient. I have a my.function file which contains some function that takes some ...
Morgan's user avatar
  • 525
1 vote
0 answers
75 views

Wolfram Kernel and Elastic Beanstalk?

I've got a python project that uses the wolframclient library that I want to deploy onto AWS elastic beanstalk. I've tried installing Wolfram Engine through ssh, but wolframclient is having issues ...
user3558075's user avatar
1 vote
0 answers
107 views

How to run a Mathematica package (.m) (which depends on Notation` package) via Python using "Wolfram Client Library for Python"?

In How to run a Mathematica package (.m) from Python using the “Wolfram Client Library for Python”?, I was able to get the basicPackage` example to work, but ran ...
Sterling's user avatar
  • 523
3 votes
0 answers
61 views

wolframclient library and DJango

I'm working on a project where a Django server needs to evaluate Wolfram Language code. Has anyone done this or know the best way to go about it? I've got something working, using a static class with ...
user3558075's user avatar
0 votes
1 answer
105 views

Why doesn't WolframClient output InputForm?

I'm trying to make a wrapper REPL for the free Wolfram Engine (on Cygwin, there are a bit of I/O issues) in Python, so I am using the wolframclient library. However, whenever I use ...
StarDust's user avatar
  • 103
1 vote
1 answer
318 views

WolframClient Converting Output Of Solve To Sympy

I'm trying to convert the output of WolframClient to Python. Here's a toy example: ...
Alex R.'s user avatar
  • 323
4 votes
2 answers
905 views

Wolfram Client Library: Cannot establish connection with Kernel in second Python function

I have recently started using the Wolfram Client Library (WCL) for Python in my Linux machine in order to automate running a Mathematica notebook many times. I have an Anaconda environment ...
Ouroboroski's user avatar
1 vote
0 answers
1k views

How to specify the path of kernel?

I have installed Mathematica in Windows and wolframclient is installed in WSL, Windows Subsystem for Linux. When I run WolframLanguage Session, the interpreter isn't able to locate the kernel path. <...
Natasha's user avatar
  • 329
3 votes
1 answer
115 views

Issue while evaluating Mathematica expressions from Python [closed]

This is a follow up to my question posted here I am trying to run the code posted here as an answer in the above-mentioned link here from Python I tried, ...
Natasha's user avatar
  • 329
0 votes
1 answer
167 views

Problem while running Mathematica code from Python using wolframclient library

This is a follow up to my previous post here I am trying to run a function from Python using wolframclient. The input arguments are passed from Python as Python ...
Natasha's user avatar
  • 329
4 votes
1 answer
381 views

Formula translation from Wolfram Python Client Library to Python usable string

I try to use the Wolfram Python client library to evaluate a differential equation in Python. This does not work smoothly, but using ...
Uwe.Schneider's user avatar
9 votes
2 answers
1k views

How to run a Mathematica package (.m) from Python using the "Wolfram Client Library for Python"?

This question is about calling a Mathematica Package (.m file) from Python employing the "Wolfram Client Library for Python" (https://github.com/WolframResearch/WolframClientForPython). For ...
user10181864's user avatar
3 votes
1 answer
128 views

How to access WolframWebEngine running on a remote server?

Thanks to WolframWebEngine it's extremely easy to build and run a webapp backed by the Wolfram Engine on a local machine. Assuming one has all dependencies installed on a remote server, what is the ...
Fortsaint's user avatar
  • 2,030
7 votes
0 answers
339 views

Pass Numpy array to Compiled Code (Wolfram Engine, Wolfram Client, Python)

What List-like structures in Python can Wolfram Client handle and how can support for new structures be added? In this answer I describe how to execute from Python, code in a Mathematica package that ...
Julian Moore's user avatar
  • 2,560
6 votes
1 answer
135 views

Built-in function (or terse method) to convert from DateObject to Python datetime in Python?

When using the Wolfram Client Library for Python in a Python program there appears to be no built-in function to convert a DateObject in to a Python ...
Edmund's user avatar
  • 41.5k