Installing the Scala kernel
The steps for macOS are as follows (taken from https://developer.ibm.com/hadoop/2016/05/04/install-jupyter-notebook-spark):Â
Note
I could not get the steps for using the Scala kernel to work on a Windows 10 machine.
- Install
git
 using the following command:
yum install git
- Copy the
scala
package locally:
git clone https://github.com/alexarchambault/jupyter-scala.git
- Install theÂ
sbt
build tool by running:
sudo yum install sbt
- Â Move the
jupyter-scala
 directory to theÂscala
package:
cd jupyter-scala
- Build the package:
sbt cli/packArchive
- Â To launch Scala shell, use the following command:
./jupyter-scala
- Â Check the kernels installed by running this command (you should now see Scala in the list):
jupyter kernelspec list
- Launch the Jupyter Notebook:
jupyter notebook
- You can now choose to use a Scala 2.11 shell.
At this point, if you start Jupyter, you will see Scala
listed:
Â
Â
Â
If we create a Scala Notebook, we end up with the familiar layout with an icon displaying that we are running Scala...