Jill Clover
Jill Clover

Reputation: 2328

How to install sbt package for Jupyter notebook with Scala kernel?

I am using Jupyter notebook with Scala kernel? How can I install sbt package and load it for the notebook?

It seems this https://www.scala-sbt.org/1.x/docs/Scripts.html is related.

Upvotes: 0

Views: 1203

Answers (2)

Chien Nguyen
Chien Nguyen

Reputation: 179

Great solution, @Joost Döbken ! Also, I confirmed that I successfully imported:

import $ivy.`org.scalanlp::breeze:1.1`, breeze.linalg._

Upvotes: 0

Joost Döbken
Joost Döbken

Reputation: 4017

late answer, but likely you would like to use Almond as a Scala kernel. Simply import sbt packages with ivy, e.g.:

import $ivy.`org.scalaz::scalaz-core:7.2.27`, scalaz._, Scalaz._

Upvotes: 3

Related Questions