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

后端 未结 17 1973
再見小時候
再見小時候 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

    I had the same error while trying to install my environment as kernel in Jupyter. First I had created a new environment, installed R, IRkernel and devtools from within conda prompt, then runned R typing R from the prompt and typing

    IRkernel::installspec(name = 'myenvname', displayname = 'myenvname')
    

    I had the same error. I solved simply in this way:

    conda install -c anaconda jupyter_client
    

    And then retyping the previous code it just worked.

提交回复
热议问题