Windows 10 download and import dependencies failed
Hi all, I got below issue under Windows 10 environment while executing instructions in Jupyter lab/notebook, does anyone know how can I solve it?
Setup Before we start, we need to download and imports the dependencies needed for the demo.
Please run the following two cell blocks by either pressing SHIFT+ENTER on your keyboard or the Run button in the menu.
val path = System.getProperty("user.dir") + "/source/load-ivy.sc"
interp.load.module(ammonite.ops.Path(java.nio.file.FileSystems.getDefault().getPath(path)))
Compiling C:\Workspace\chisel-bootcamp\Main.sc
Main.sc:2: not found: value coursierapi
coursierapi.MavenRepository.of("https://oss.sonatype.org/content/repositories/snapshots")
^
ammonite.util.CompilationError: Compilation Failed
ammonite.interp.Interpreter$$anon$1$load$.module(Interpreter.scala:716)
ammonite.$sess.cmd0$Helper.<init>(cmd0.sc:2)
ammonite.$sess.cmd0$.<init>(cmd0.sc:7)
ammonite.$sess.cmd0$.<clinit>(cmd0.sc:-1)
Same here. Went into this at the first cell of 2.1
Thanks for your interest in Chisel! Do you still get this error with the latest revision of the bootcamp?
Hi @edwardcwang Thank you for the reply. The issue is still not solved and keep coming with the newest revision:
The following cell downloads the dependencies needed for Chisel. You will see it in all future notebooks. Run this cell now.
val path = System.getProperty("user.dir") + "/source/load-ivy.sc"
interp.load.module(ammonite.ops.Path(java.nio.file.FileSystems.getDefault().getPath(path)))
Compiling C:\Workspace\chisel-bootcamp\Main.sc
Main.sc:2: not found: value coursierapi
coursierapi.MavenRepository.of("https://oss.sonatype.org/content/repositories/snapshots")
^
ammonite.util.CompilationError: Compilation Failed
ammonite.interp.Interpreter$$anon$1$load$.module(Interpreter.scala:716)
ammonite.$sess.cmd0$Helper.<init>(cmd0.sc:2)
ammonite.$sess.cmd0$.<init>(cmd0.sc:7)
ammonite.$sess.cmd0$.<clinit>(cmd0.sc:-1)
As mentioned in the last module, these statements are needed to import Chisel. Run this cell now before running any future code blocks.