vors / jupyter-powershell

PowerShell language kernel for Jupyter
MIT License
132 stars 26 forks source link

Running 'jupyter notebook --kernel=powershell ' results in a 'jupyter' is not recognized error #3

Closed AncientSwordRage closed 7 years ago

AncientSwordRage commented 7 years ago

I ran the command in the README:

PS D:\jupyter-powershell> ./install-kernel.ps1
Install kernel in ~\AppData\Roaming\jupyter\kernels\powershell

    Directory: C:\Users\<user name>\AppData\Roaming\jupyter\kernels

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        19-Feb-17  08:20 AM                powershell
Run 'jupyter kernelspec list' to list all available kernels

I'm not sure what other step are needed, but when I run the command to run it I get this error.

PS D:\jupyter-powershell> jupyter notebook --kernel=powershell
jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ jupyter notebook --kernel=powershell
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (jupyter:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Djarid commented 7 years ago

Is Jupyter in your path? It isn't on my system so I launch notebooks from within the jupyter directory

vors commented 7 years ago

yes, @Djarid is right. The error message is generic error when command could not be found. Please, follow jupyter install guide for install and setup steps.

knoxyca commented 7 years ago

Unless Jupyter has changed since this, the command will also fail because you can't specify a kernel for a notebook, only for a console or qtconsole.

vors commented 7 years ago

I'm going to close it as it seems to be ever resolved or too old anyway.