How do I install Scala in Jupyter IPython Notebook?

后端 未结 6 2174
自闭症患者
自闭症患者 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 00:54

    I've just run:

    • conda create --name base2 --clone base to create an env just like base.

    • conda activate base2 to move to the new env.

    • conda install -c conda-forge spylon-kernel.

    • python -m spylon_kernel install --user. create a kernel spec for Jupyter notebook

    • jupyter-notebook

    ...and works just fine.

    I'm using:

    • Anaconda 4.7.12
    • Jupyter-notebook 6.0.1
    • Ubuntu 18.04
    • ipykernel 5.1.3
    • ipython 7.9.0
    • ipython_genutils 0.2.0
    • jupyter_client 5.3.4
    • jupyter_core 4.6.0
    • traitlets 4.3.3

    from def suma(a: Int) = a + 3

提交回复
热议问题