Comments (12)
I discovered a solution that works on my Windows 10 Enterprise system within a Windows PowerShell launched with admin privileges. Change the almond version to 0.6.0 as follows:
java -noverify -jar coursier bootstrap -r jitpack -i user -I user:sh.almond:scala-kernel-api_2.12.8:0.6.0 sh.almond:scala-kernel_2.12.8:0.6.0 --sources --default=true -o almond
followed by:
./almond --install
from chisel-bootcamp.
On Windows 10 Enterprise, running in Windows PowerShell with admin privileges
java -noverify -jar coursier launch -r jitpack -i user -I user:sh.almond:scala-kernel-api_2.12.8:0.2.1 sh.almond:scala-kernel_2.12.8:0.2.1 --sources --default=true -- --install
fails with the "unrecognized argument" error message as described by @tzc1994 , using instead
java -noverify -jar coursier bootstrap -r jitpack -i user -I user:sh.almond:scala-kernel-api_2.12.8:0.2.1 sh.almond:scala-kernel_2.12.8:0.2.1 --sources --default=true -o almond
does build almond, but running
./almond --install
returns the error reported by @luoxinjie1146 .
Hence, updating chisel-bootcamp is dead in the water here.
from chisel-bootcamp.
Yes, that'll work for now. Thanks.
from chisel-bootcamp.
I haven't tried it on windows, but I would think that the arguments would be the same.
I think the command should actually be
java -noverify -jar coursier bootstrap -r jitpack -i user -I user:sh.almond:scala-kernel-api_2.12.8:0.2.1 sh.almond:scala-kernel_2.12.8:0.2.1 --sources --default=true -o almond ./almond --install
but it looks like it isn't recognizing arguments correctly.
What do you get if you do java -noverify -jar coursier -h
and java -noverify -jar cousier bootstrap -h
?
from chisel-bootcamp.
It doesn't wrok
PS C:\WINDOWS\system32> cd C:\Users\28614\Desktop
PS C:\Users\28614\Desktop> java -noverify -jar coursier bootstrap -r jitpack -i user -I user:sh.almond:scala-kernel-api_
2.12.8:0.2.1 sh.almond:scala-kernel_2.12.8:0.2.1 --sources --default=true -o almond ./almond --install
Unrecognized argument: --install
PS C:\Users\28614\Desktop> java -noverify -jar coursier -h
Coursier 1.1.0-M9
Usage: coursier [options] [command] [command-options]
Available commands: bootstrap, fetch, launch, resolve, spark-submit
Type coursier command --help for help on an individual command
PS C:\Users\28614\Desktop> java -noverify -jar cousier bootstrap
Error: Unable to access jarfile cousier
PS C:\Users\28614\Desktop> java -noverify -jar cousier bootstrap -h
Error: Unable to access jarfile cousier
from chisel-bootcamp.
It looks like that's not the right way to run coursier b/c it isn't finding it- have you downloaded coursier? Is it in the Desktop folder? Can you look at the faq here?
from chisel-bootcamp.
yes, I have downloaded courisier in Desktop folder. Thanks for your reply
from chisel-bootcamp.
Oh, also the ./almond --install
part of the command is supposed to be a separate command. It looks like the first command is almost working. The idea is that coursier makes an installer file called almond
, so you need to run the coursier command before you can run the installer.
from chisel-bootcamp.
when I run .\almond --install
, the cmd reports Error: Illegal char <:> at index 2: /E:/scala/almond
. How can I solve it?
from chisel-bootcamp.
As a workaround for Windows, is the hosted Binder instance sufficient for your use case?
https://mybinder.org/v2/gh/freechipsproject/chisel-bootcamp/master
from chisel-bootcamp.
Yes. It works.
Thanks!
from chisel-bootcamp.
Update for bootcamp attendees 9/6/19:
java -noverify -jar coursier bootstrap -r jitpack -i user -I user:sh.almond:scala-kernel-api_2.12.8:0.6.0 sh.almond:scala-kernel_2.12.8:0.6.0 --sources --default=true -o almond
almond --install
from chisel-bootcamp.
Related Issues (20)
- 2.6: `DecoupledGcd` example is not decoupled on the output side and tests fail to catch it
- ammonite.util.CompilationError: Failed to resolve ivy dependencies:Error downloading edu.berkeley.cs:chisel3_2.13:3.2.0 HOT 4
- how to save the dependent libraries in the local Machine HOT 2
- Failed to resolve ivy dependencies:/coursier_cache/.structure.lock (Permission denied) HOT 4
- 2.3_control_flow Reference io is not fully initialized. HOT 1
- java.nio.charset.MalformedInputException: Input length = 1 HOT 5
- cmd10.sc:12: reference to Data is ambiguous; HOT 2
- the tester in "2.5_exercise.ipynb" for example "DSPBlock" is old test framework
- 3.2 interlude: arbiter never asserts "ready" for inputs
- Chapter 3.3 - excercise on decoupled arbiter is confusing
- Chapter 3.6 - companion object for Mac: solution for apply(..) is not a Factory method HOT 2
- Write a "How to contribute" section to the README
- Module 2.5 - DspBlock - not found: type PeekPokeTester HOT 2
- the direction of <> operator in Chisel? in 2.6 chiseltest HOT 1
- doubt about 2.6 Chiseltest HOT 2
- can not run 2.1 locally HOT 6
- value step is not a member of chisel3.Clock in 3.2 HOT 4
- I have a question about scala grammar in 3.6
- I have some question about module 3 Interlude: Chisel Standard Library
- Latest docker image has bad permissions, results in cell run errors, manual temporary fix available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chisel-bootcamp.