Git Product home page Git Product logo

Comments (7)

dinhnguyen92 avatar dinhnguyen92 commented on May 17, 2024 3

Unfortunately, the original instruction is obsolete, and the installation instructions link above is now dead. For those who struggle with this like I did, here's how I installed the Scala kernel in my SageMaker Jupyter Notebook instance:

1/ Open Jupyter Lab (I personally find it easier to work in Jupyter Lab)
2/ File > New > Terminal
3/ In the terminal, run git clone https://github.com/jupyter-scala/jupyter-scala.git
4/ Once the repository has been cloned, cd jupyter-scala
5/ cd scripts
6/ Run ls. Verify that you have coursier.sh and generate-launcher.sh in the current directory
7/ Run vi generate-launcher.sh to edit this script
8/ Press "insert" to start editing. Find the line coursier bootstrap \ and change it to ./coursier.sh bootstrap\. Save and exit vim
9/ Run ./generate-launcher.sh
10/ Run ls. Verify that the file almond is now present in the current directory
11/ Run ./almond --install

from amazon-sagemaker-examples.

djarpin avatar djarpin commented on May 17, 2024

Hi @richardxin . I was able to install the Scala kernel on a SageMaker Notebook Instance by:

  1. Opening a terminal from the Notebook dashboard
  2. running git clone https://github.com/jupyter-scala/jupyter-scala.git
  3. cd jupyter-scala
  4. ./jupyter-scala
  5. When that completed, exiting from the terminal, refreshing the Notebook dashboard page, and selecting "Scala" from the "New -> Notebook" menu.

Just to confirm, there isn't any special support for Scala in SageMaker at the moment. So, we don't have an equivalent to the SageMaker Python SDK for Scala.

Best of luck, and thanks for your interest in SageMaker!

from amazon-sagemaker-examples.

richardxin avatar richardxin commented on May 17, 2024

Thanks

from amazon-sagemaker-examples.

vlall avatar vlall commented on May 17, 2024

This doesnt work anymore.

from amazon-sagemaker-examples.

mct0006 avatar mct0006 commented on May 17, 2024

I can confirm @vlall's point--specifically, the ./jupyter-scala command returns an error. @richardxin, any idea as to how to install it now?

from amazon-sagemaker-examples.

chriszheng10 avatar chriszheng10 commented on May 17, 2024

Hi @vlall and @mct0006,

Looks like the repo @djarpin mentioned before has been revamped this year and the previous instructions are out of date.

In the updated repo's README, I discovered the installation instructions through their project website: http://almond-sh.github.io/almond/stable/docs/quick-start-install
I was able to install the Scala kernel following those instructions. Hopefully that helps!

from amazon-sagemaker-examples.

arash2060 avatar arash2060 commented on May 17, 2024

I've been happy with https://pypi.org/project/spylon-kernel/ both on my laptop and on sagemaker

pip install spylon-kernel
# or
conda install -c conda-forge spylon-kernel
python -m spylon_kernel install

Launch jupyter notebook and you should see a spylon-kernel as an option
in the New dropdown menu.

from amazon-sagemaker-examples.

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.