chisel-bootcamp icon indicating copy to clipboard operation
chisel-bootcamp copied to clipboard

Windows 10 download and import dependencies failed

Open shi27feng opened this issue 5 years ago • 3 comments

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)

shi27feng avatar Jul 05 '20 17:07 shi27feng

Same here. Went into this at the first cell of 2.1

TracyCai-16 avatar Aug 14 '20 13:08 TracyCai-16

Thanks for your interest in Chisel! Do you still get this error with the latest revision of the bootcamp?

edwardcwang avatar Jan 20 '21 02:01 edwardcwang

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.

shi27feng avatar Jan 21 '21 00:01 shi27feng