Well, this pkg is kind of hard to use... And not yet succeeded.
I tried to cd to the dir, pip install -e .
only return error.
So, I read the source code of setup.py
I saw
wmmexec = None
if "--mma-exec" in sys.argv:
idx = sys.argv.index("--mma-exec")
sys.argv.pop(idx)
candidate = sys.argv.pop(idx)
print("trying ", candidate)
try:
starttext = get_start_text(candidate)
if starttext.startswith("Mathematica"):
print("Using Wolfram Mathematica")
wmmexec = candidate
So I use python setup.py --mma-exec "C:\Program Files\Wolfram Research\Mathematica\11.3\Mathematica.exe"
get
trying C:\Program Files\Wolfram Research\Mathematica\11.3\Mathematica.exe
command valid. Trying....
D:\Program Files\Python3.8.5\lib\subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
D:\Program Files\Python3.8.5\lib\subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
trying with MathKernel
trying with wolframscript
trying with Mathics
Couldn't find a Mathics/Mathematica interpreter.
Well, this pkg is kind of hard to use... And not yet succeeded.
pip install -e .
only return error.
So, I read the source code of
setup.py
I saw
So I use
python setup.py --mma-exec "C:\Program Files\Wolfram Research\Mathematica\11.3\Mathematica.exe"
get
Now I am out of patience. 👀Wait others.