Giter VIP home page Giter VIP logo

Comments (12)

banklam avatar banklam commented on August 24, 2024 5

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.

banklam avatar banklam commented on August 24, 2024 1

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.

banklam avatar banklam commented on August 24, 2024 1

Yes, that'll work for now. Thanks.

from chisel-bootcamp.

grebe avatar grebe commented on August 24, 2024

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.

tzc1994 avatar tzc1994 commented on August 24, 2024

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.

grebe avatar grebe commented on August 24, 2024

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.

tzc1994 avatar tzc1994 commented on August 24, 2024

yes, I have downloaded courisier in Desktop folder. Thanks for your reply

from chisel-bootcamp.

grebe avatar grebe commented on August 24, 2024

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.

luoxinjie1146 avatar luoxinjie1146 commented on August 24, 2024

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.

seldridge avatar seldridge commented on August 24, 2024

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.

luoxinjie1146 avatar luoxinjie1146 commented on August 24, 2024

Yes. It works.
Thanks!

from chisel-bootcamp.

sagark avatar sagark commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.