Thursday, 11 July 2019

Jupyter commands work only with a dash (e.g. jupyter-kernelspec instead of jupyter kernelspec)

I am using Jupyter with Anaconda3.

My Anaconda3\ and Anaconda3\Scripts\ folders have been added to the %PATH% variable.

Eventhough the jupyter.exe is in the Scripts folder above, Jupyter related commands don't work without a dash.

  • For example:

    jupyter kernelspec --version
    Error executing Jupyter command 'kernelspec': [Errno 'jupyter-kernelspec' not found] 2
    
    
  • The same command with a dash works:

    jupyter-kernelspec --version
    5.2.2
    
    

And the same goes for jupyter-notebook, etc.

Do I have to add anything else to my %PATH%? Am I missing something?

I have opened an issue for this point on Github as well, but it didn't get any attention unfortunately: https://github.com/jupyter/jupyter/issues/381



from Jupyter commands work only with a dash (e.g. jupyter-kernelspec instead of jupyter kernelspec)

No comments:

Post a Comment