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

ammonite.util.CompilationError: Failed to resolve ivy dependencies:Error downloading edu.berkeley.cs:chisel3_2.13:3.2.0 #138

Open
eefresher opened this issue Feb 1, 2021 · 5 comments

Comments

@eefresher
Copy link

I try to run tht first code slice in chapter 2.1 in the local machine,The following is the info of the envrioment. the bootcamp file is the latest
system:ubuntn20.04
sbt: 1.4.7
chisel3:2.12
jupyter core : 4.7.0
jupyter-notebook : 6.2.0

here is the erro info:

Compiling /home/zhang/chisel-workspace/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/zhang/.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:693)
ammonite.$sess.cmd7$Helper.(cmd7.sc:2)
ammonite.$sess.cmd7$.(cmd7.sc:7)

@eefresher
Copy link
Author

here is the erro info
erro

@eefresher
Copy link
Author

I just dele the scala kerenl :
rm -rf ~/.local/share/jupyter/kernels/scala/

then reinstall it
curl -L -o coursier https://git.io/coursier-cli && chmod +x coursier SCALA_VERSION=2.12.10 ALMOND_VERSION=0.9.1 ./coursier bootstrap -r jitpack \ -i user -I user:sh.almond:scala-kernel-api_$SCALA_VERSION:$ALMOND_VERSION \ sh.almond:scala-kernel_$SCALA_VERSION:$ALMOND_VERSION \ --sources --default=true \ -o almond ./almond --install
that solve my problem ,everything is ok.sorry to disturb you`

@eefresher
Copy link
Author

becaue of Great firewall in China ,While I first installed the scala kernel , maybe something was missing .Second time , I set appropriate proxy, the installtion process was soon completed.

@LeoLiangjianbin
Copy link

similar problem for me, I will try reinstall scala

@Waryc
Copy link

Waryc commented Dec 1, 2024

Thanks. It works.

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