Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kirisakow/2f6ef957673df6dcbc20bcdaa33c202a to your computer and use it in GitHub Desktop.
Save kirisakow/2f6ef957673df6dcbc20bcdaa33c202a to your computer and use it in GitHub Desktop.
Run Spark MLlib and Scala in Google Colab with Almond
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Platinum-Dragon
Copy link

I followed prerequisites 1 & 2 exactly, but on #3 I get the same thing:

image

@kirisakow
Copy link
Author

You need to reload the Google Colab page after you installed coursier and almond

@sunnysea
Copy link

image

Hello! After 1&2 and reloading the page, I get this error. Could you help me what should I do in this case, please?

@kirisakow
Copy link
Author

To @sunnysea @Platinum-Dragon and anyone who is reading this:

Google Colab interface has seemingly undergone changes and does not allow to use side kernels the way it used to be.

I myself have stopped using Google Colab and have been using Docker images and containers instead.

To run Scala in Jupyter Notebook as a Docker container, you can use this guide of mine based on jupyter/all-spark-notebook Docker image, the latest Almond and Scala.

Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment