This document shows istallation steps for WolframEngine anf WolframScript for using Mathematica on Jupyter Notebook.
- For Linux Ubuntu
sudo apt install python3
sudo apt install python3-pip
pip3 install numpy
pip3 install scipy
pip3 install matplotlib
pip3 install getdist
pip3 install jupyter
- For MacOS
- Install HomeBrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install python3
python3 -m pip install --upgrade pip
pip3 install numpy
pip3 install scipy
pip3 install matplotlib
pip3 install getdist
pip3 install jupyter
Download WolframEngine installer via WolframEngine Download Page for your OS and get your WolframEngine ID license from the page.
-
For Linux Ubuntu
sudo bash WolframEngine-installer.shActivate WolframEngine ID.
wolframscript --activateIf you have any questions, you can refer to the page below.
-
For MacOS
After downloading the WolframEngine installer, click on the installer to begin the installation. Then, drag and drop to install WolframScript. Finally, activate the WolframEngine ID.
wolframscript --activate
Clone the WolframLanguageForJupyter repository
git clone https://github.com/WolframResearch/WolframLanguageForJupyter.git
cd WolframLanguageForJupyter
Run the following command in your shell to make the Wolfram Language engine available to Jupyter:
./configure-jupyter.wls add
Check Wolfram Languge kernel on Jupyter
jupyter kernelspec list
The out put should include wolframlanguage13 ..\jupyter\kernels\wolframlanguage13.
Run Jupyter Notebook and select Wolfram Language from the drop down menu to start Wolfram kernel on your notebok.
jupyter notebook
For more information: WolframLanguageForJupyter
To launch Jupyter Notebook, you can use its built-in GUI; however, this can be inconvenient when frequently switching between the notebook and the terminal. I recommend using Visual Studio Code (VS Code) for primary editing and code execution. This code editor is lightweight, high-performance, supports numerous extensions, and is free to use.
Click on this link and follow the installation instructions specific to your machine's operating system.
Visual Studio Code
For all OS, you need to set up for connecting VS Code with WSL.
Developing in WSL


