Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 download and import dependencies failed #115

Open
shi27feng opened this issue Jul 5, 2020 · 3 comments
Open

Windows 10 download and import dependencies failed #115

shi27feng opened this issue Jul 5, 2020 · 3 comments

Comments

@shi27feng
Copy link

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)
@TracyCai-16
Copy link

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

@edwardcwang
Copy link
Collaborator

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

@shi27feng
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants