Comments (9)
import $ivy.org.scalanlp::breeze:0.13.1
import $ivy.org.scalanlp::breeze-natives:0.13.1
like this
from almond.
You should follow the instructions in the updated README, these are more straightforward I think.
You should launch a jupyter notebook server then, create a new Scala 2.1x notebook, and add breeze directly from the notebook, like illustrated at https://gist.github.com/alexarchambault/6f7eeffef3ecdf353992.
from almond.
It works, thanks!
from almond.
When I am trying to run the first block:
classpath.add(
"org.scalanlp" %% "breeze" % "0.11.2",
"org.scalanlp" %% "breeze-natives" % "0.11.2"
)
I see this error in the jupyter:
Compilation Failed
Main.scala:49: not found: value classpath
classpath.add(
^
And thus I can't load breeze. Do you have any idea? Thank you.
from almond.
Same error here. I correctly specified the build.sbt file, ran sbt update
and can import it from the Terminal (after runningsbt console
) and I can also import it in IntelliJ ideas.
But I get a not found: value classpath
error when trying to import it from jupyter with
classpath.add(
"org.scalanlp" %% "breeze" % "0.12",
"org.scalanlp" %% "breeze-natives" % "0.12"
)
from almond.
When I am trying to run the first block:
classpath.add(
"org.scalanlp" %% "breeze" % "0.11.2",
"org.scalanlp" %% "breeze-natives" % "0.11.2"
)
I also have this issue:
Compilation Failed
Main.scala:49: not found: value classpath
classpath.add(
^
from almond.
I am also having the same issue. Any advice will be helpful.
from almond.
Running on the same issue (not found: value classpath)
@Roshrini how did you solve it? I see you wrote a few scala notebooks ( https://github.com/Roshrini/mxnet-notebooks/blob/scala-notebooks/scala/tutorials/predict_imagenet_scala.ipynb ) so you obviously managed to solve this issue. Can you help?
from almond.
Hi @benqua You can see the instructions related to jupyter-scala installation here in my Readme file: https://github.com/Roshrini/mxnet-notebooks/blob/scala-notebooks/README.md I used version 0.3.x (NOT latest from master) to get this classpath command working.
from almond.
Related Issues (20)
- Lots of output messages cause kernel to stuck HOT 1
- Create NotebookSparkSession error on windows HOT 4
- Create NotebookSparkSession on windows error Failed to connect to timeline server
- Add section in docs about custom Toree magics
- Almond on windows is not use spark config in spark-default and hadoop config in hadoop config dir
- Docker ivy command stalls with a mounted volume
- named imports cannot follow wildcard imports HOT 1
- Scala 2.13.8 Almond 0.13.14 issue
- version compatibility with almond-sh on windows when use spark HOT 1
- Almond 0.13.2: InterpreterToIOInterpreter Error for Scala mixin type parameter constraint HOT 1
- Could not find or load main class coursier.bootstrap.launcher.Launcher HOT 2
- Installing the Scala kernel in standalone mode can execute code 5X slower than normal mode!! HOT 1
- Getting sbt-coursier error when upgrading from sbt version 1.3.13 to 1.9.4
- Spark 3.1.2 failing to create SparkSession in Almond 0.14.0-RC12 HOT 1
- Pre-fetching jars in docker environment fails to populate classpath HOT 4
- Reexecuting a Scala 3.3.1 cell with circe imports fails with `an identifier expected, but 'export' found` HOT 4
- Failed to import spark HOT 3
- Installed version is not aligned with dependencies
- Recent versions of Spark not supported ? (ClassCastException error) HOT 1
- Specified to use Scala 3 but Scala 2 still being used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from almond.