Reader small image

You're reading from  Learning Jupyter

Product typeBook
Published inNov 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785884870
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Dan Toomey
Dan Toomey
author image
Dan Toomey

Dan Toomey has been developing application software for over 20 years. He has worked in a variety of industries and companies, in roles from sole contributor to VP/CTO-level. For the last few years, he has been contracting for companies in the eastern Massachusetts area. Dan has been contracting under Dan Toomey Software Corp. Dan has also written R for Data Science, Jupyter for Data Sciences, and the Jupyter Cookbook, all with Packt.
Read more about Dan Toomey

Right arrow

Installing the Scala kernel


There is currently no process for installing the Scala kernel in a Windows environment. I'm not sure why. I expect this to change over time.

The steps for Mac OS/X are given here (taken from https://developer.ibm.com/hadoop/2016/05/04/install-jupyter-notebook-spark):

  1. Install GIT using this:

    yum install git
    
  2. Copy the Scala package locally:

    git clone https://github.com/alexarchambault/jupyter-scala.git
    
  3. Install the sbt build tool by running this:

    sudo yum install sbt
    
  4. Move to the Scala package directory:

    cd jupyter-scala
    
  5. Build the package:

    sbt cli/packArchive
    
  6. To launch the Scala shell, use this command:

    ./jupyter-scala
    
  7. Check the kernels installed by running this command: (you should see Scala in the list now):

     jupyter kernelspec list
    
  8. Launch the Jupyter Notebook:

    jupyter notebook
    
  9. You can now choose to use a Scala 2.11 shell.

    At this point, if you start Jupyter, you will see the choice for Scala listed:

If we create a Scala notebook, we end up with the familiar layout...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Jupyter
Published in: Nov 2016Publisher: PacktISBN-13: 9781785884870

Author (1)

author image
Dan Toomey

Dan Toomey has been developing application software for over 20 years. He has worked in a variety of industries and companies, in roles from sole contributor to VP/CTO-level. For the last few years, he has been contracting for companies in the eastern Massachusetts area. Dan has been contracting under Dan Toomey Software Corp. Dan has also written R for Data Science, Jupyter for Data Sciences, and the Jupyter Cookbook, all with Packt.
Read more about Dan Toomey