Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install Scala in Jupyter IPython Notebook?

Tags:

scala

jupyter

Here's a few links that I went to and did exactly what they said. I don't know what I'm doing wrong.

https://github.com/alexarchambault/jupyter-scala
https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages
https://github.com/apache/incubator-toree
http://jcrudy.github.io/blog/html/2013/12/08/introduction_to_iscala.html

None of this is working. It may be some way that my node is configured. I just don't know. Please help.

like image 317
Ravaal Avatar asked Feb 22 '16 20:02

Ravaal


1 Answers

I tried the following with Jupyterhub notebook and it works seamlessly:

# Step 1: Install spylon kernel
pip install spylon-kernel

# Step 2: create a kernel spec
python -m spylon_kernel install

# Step 3: start jupyter notebook 
jupyter notebook

PS: to list all installed kernels, you can run the following command:

jupyter kernelspec list
like image 184
Heapify Avatar answered Oct 12 '22 12:10

Heapify