jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127

后端 未结 17 1945
再見小時候
再見小時候 2020-12-23 20:35

I have already installed Jupyter notebook in my ubuntu 16.04 machine. In jupyter notebook there is by default python installed. Now I want to use R from jupyter notebook.

17条回答
  •  盖世英雄少女心
    2020-12-23 21:14

    1. If Anaconda is installed and the Jupyter-Notebook with it (should be the standard install), open up the Anaconda prompt, not the Windows command prompt or the Anaconda Navigator
    2. Look up the executable of R (not Rgui or Rstudio), it should be somewhere like C:\Program Files\R\R-3.5.1\bin and remember the path typing cd C:\Program Files\R\R-3.5.1\bin and start R by typing R
    3. typing IRkernel::installspec()
    4. Now you can start an R kernel within Jupyter-Notebook

提交回复
热议问题