How do I install Scala in Jupyter IPython Notebook?

后端 未结 6 2235
自闭症患者
自闭症患者 2021-01-31 00:47

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://gith

6条回答
  •  面向向阳花
    2021-01-31 01:11

    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
    

提交回复
热议问题