jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.75k stars 4.99k forks source link

Problem with tutorials setup #4134

Open ipere opened 6 years ago

ipere commented 6 years ago

Hi, I tried to follow the first chisel module. But when I try to run the first cell

val path = System.getProperty("user.dir") + "/source/load-ivy.sc"
interp.load.module(ammonite.ops.Path(java.nio.file.FileSystems.getDefault().getPath(path)))

I get

File "<ipython-input-1-feb8effb9623>", line 1
    val path = System.getProperty("user.dir") + "/source/load-ivy.sc"
           ^
SyntaxError: invalid syntax

I already uninstall everything (anaconda, jupyter, ipython etc) because my kernel was constantly dying and always failed when I relaunch it.

Did I miss a set up step when installing anaconda ?

Thanks in advance

takluyver commented 6 years ago

It looks like you're following a tutorial in some other language, not Python. You may need to install a kernel for that language first.

lazy2code commented 2 years ago

You need to choose SCALA from the options in right hand side