Skip to content

Instantly share code, notes, and snippets.

@kinnala
Last active August 7, 2020 09:41
Show Gist options
  • Save kinnala/8a801f116c4091fdbe1274c20ab55618 to your computer and use it in GitHub Desktop.
Save kinnala/8a801f116c4091fdbe1274c20ab55618 to your computer and use it in GitHub Desktop.
Running Wolfram Engine and Jupyter in a container

Perform the following steps:

docker pull davecwright3/jupyter-mathematica:v1.0
docker run -p 8888:8888 -it davecwright3/jupyter-mathematica:v1.0 /bin/bash
apt-get update
apt-get install libglu1
wolframscript

Then login into your account (get a license here: https://wolfram.com/developer-license). Quit wolframscript with Ctrl-D and run

cd ~/WolframLanguageForJupyter
./configure-jupyter.wls add

Check that

jupyter kernelspec list

has something related to Wolfram Language. Then start Jupyter notebook with

jupyter notebook --allow-root

Hopefully it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment