Jupyter From Cmd Line in Windows

前端 未结 8 965
刺人心
刺人心 2021-01-07 18:08

I cannot get jupyter running from my Command line using:

jupyter notebook

jupyter is not recognised as an internal or external co

相关标签:
8条回答
  • 2021-01-07 18:48

    This is an old question, but try using python -m notebook This was the only way I was able to get jupyter to start after installing it on the windows 10 command line using pip. I didn't try touching the path.

    0 讨论(0)
  • 2021-01-07 18:49

    Try to open it using the Anaconda Prompt. Just type jupyter notebook and press Enter.

    Anaconda Prompt has existed for a long time and is the correct way of using Anaconda. May be you have a broken installation somehow.

    Try this, if the above doesn't work-

    In the Command Prompt type,

    pip3 install jupyter if you're using Python3

    Else, if you are using Python2.7 then type pip install jupyter.

    ...Some installation should happen...

    Now retry typing jupyter notebook in the CMD, it should work now.

    0 讨论(0)
  • 2021-01-07 18:50

    For future reference: the first hurdle of starting with Python is to install it. I downloaded the Anaconda 4.4 for Windows, Python 3.6 64-bit installer.

    After sorting the first hurdle of updating the "path" Environmental Variable, and running (at the Python prompt) "import pip", all the instructions I found to install the IPython Notebook generated errors. Submitting the commands "ipython notebook" or "jupyther notebook" from the Windows Command Prompt or the Python prompt generated error messages.

    Then I found that the Anaconda installation consists of a host of applications, on of them being the "Jupyter Notebook" application accessible from the Start menu. This application launch (first a shell, then) a browser page.

    The application points to a shortcut in , a directory set during the Anaconda installation. The shortcut itself refers to a few locations.

    Ready for next hurdle.

    0 讨论(0)
  • 2021-01-07 18:51

    If you use Python 3, try running the command from your virtual environment and or Anaconda command instead of your computer's OS CMD.

    0 讨论(0)
  • 2021-01-07 19:02

    Open cmd and type:

    where jupyter
    

    The output should be a link to Jupyter. If where jupyter doesn't give a link that means the PATH doesn't contain its location.

    Add the link of Jupyter to PATH & it would work.

    Also if you have ipython & have upgraded, try ipython notebook on cmd.

    Refer: Running the Jupyter Notebook

    0 讨论(0)
  • 2021-01-07 19:02

    Go to Scripts in your python directory (C:\Python27\Scripts) and check whether there is jupyter application. If so, you have a successfully installed version of jupyter.

    Try adding the path to python scripts. It should work. eg: C:\Python27\Scripts to Path environment variables

    0 讨论(0)
提交回复
热议问题