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

chisel3_2.13-3.2.0.pom in Load-Ivy.sc Not Found #107

Open
jsaunders-kbr opened this issue Feb 17, 2020 · 2 comments
Open

chisel3_2.13-3.2.0.pom in Load-Ivy.sc Not Found #107

jsaunders-kbr opened this issue Feb 17, 2020 · 2 comments

Comments

@jsaunders-kbr
Copy link

With a local install of the Chisel Bootcamp launched using "jupyter notebook" on Arch Linux, in the chapter 2.4 on Sequential Logic I recieve the following error when attempting to run the imports for the chapter:
"val path = System.getProperty("user.dir") + "/source/load-ivy.sc"

interp.load.module(ammonite.ops.Path(java.nio.file.FileSystems.getDefault().getPath(path)))

Compiling /home/jsaunders/Build/chisel-bootcamp/Main.sc

Downloading https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13/3.2.0/chisel3_2.13-3.2.0.pom
Downloaded https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13/3.2.0/chisel3_2.13-3.2.0.pom
Downloading https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13/3.2.0/chisel3_2.13-3.2.0.pom.sha1
Downloaded https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13/3.2.0/chisel3_2.13-3.2.0.pom.sha1

ammonite.util.CompilationError: Failed to resolve ivy dependencies:Error downloading edu.berkeley.cs:chisel3_2.13:3.2.0
not found: /home/jsaunders/.ivy2/local/edu.berkeley.cs/chisel3_2.13/3.2.0/ivys/ivy.xml
not found: https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13/3.2.0/chisel3_2.13-3.2.0.pom
ammonite.interp.Interpreter$$anon$1$load$.module(Interpreter.scala:716)
ammonite.$sess.cmd0$Helper.(cmd0.sc:2)
ammonite.$sess.cmd0$.(cmd0.sc:7)"

The same occurs with other chapters using the same source for loading dependencies.

@jsaunders-kbr jsaunders-kbr changed the title Chisel Dependency URL in Load-Ivy.sc Not Found chisel3_2.13-3.2.0.pom in Load-Ivy.sc Not Found Feb 17, 2020
@edwardcwang
Copy link
Collaborator

Hmm, it's interesting that you're trying to use Scala 2.13 when we don't support Scala 2.13 yet for Chisel.

Have you tried:

  1. Ensuring that your local copy of chisel-bootcamp is up to date with master?
  2. Re-doing these instructions, taking care to remove remove previous kernels first (rm -rf ~/.local/share/jupyter/kernels/scala/) https://github.com/freechipsproject/chisel-bootcamp/blob/master/Install.md#jupyter-backend-for-scala

I just tried the instructions again with a fresh install and they work for me.

@jsaunders-kbr
Copy link
Author

Okay, it was getting Scala 2.13 from the system-wide Scala package I had installed from the Arch repositories. I uninstalled that, redid all the instructions, and updated chisel-bootcamp to be sure (I'd done so earlier today) and now it's erroring out when I select a page in the notebook with a "Could not find a kernel matching Scala. Please select a kernel:" with Python 3 as the sole option.

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

2 participants