# Is there an interface to Mathematica through wolframescript?

**URL:** <https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727>\
**Category:** General Usage\
**Tags:** mathematica\
**Created:** [March 8, 2020, 5:43pm UTC](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727 "2020-03-08T17:43:33Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![xuy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xuy/32/37137_2.png) [@xuy](https://discourse.julialang.org/u/xuy)\
**Post date:** [April 4, 2020, 6:40am UTC](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727/27 "2020-04-04T06:40:18Z")

</div>

It works on my computer. I did the following：  
1、 To set an environment variable, typically you add something like this to your `~/.profile` file

```julia
export JULIA_MATHKERNEL=...
export JULIA_MATHLINK=...

```

2、It need to re-run `Pkg.build()`

---

<div class="post-metadata">

**Author:** ![gangchern](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gangchern/32/13298_2.png) [@gangchern](https://discourse.julialang.org/u/gangchern)\
**Post date:** [April 4, 2020, 11:47am UTC](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727/28 "2020-04-04T11:47:05Z")

</div>

I am just googling the transformation “julia expr to function”. Perhap your package is popular now. It is really useful.

---

<div class="post-metadata">

**Author:** ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Post date:** [April 21, 2021, 11:16pm UTC](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727/29 "2021-04-21T23:16:26Z")

</div>

I know this is an old thread, but Wolfram Research has published an [official Python library](https://reference.wolfram.com/language/WolframClientForPython/index.html) for calling Mathematica. I suppose you can use PyCall from Julia to access it. By the way, a [Wolfram language parser](https://github.com/WolframResearch/codeparser) and [static analyzer](https://github.com/WolframResearch/codeinspector) have also been published on Github by WR.

[Previous page](https://discourse.julialang.org/t/is-there-an-interface-to-mathematica-through-wolframescript/35727.md?page=1)
