开始jupyter笔记本10

开始jupyter笔记本10

问题描述:

当我在Windows上安装10在Ubuntu的bash键入jupyter notebook,打开一个文件,它看起来像这样开始jupyter笔记本10

Jupyter1NotebookNrequirespJavaScript.g one-time-token-authenticated connection from 127.0.0.1 
Please enable it to proceed. 
Jupyter Notebook 
Logout 

    • Files 
    • Running 
    • Clusters 

Select items to perform actions on them. 
Duplicate Rename Move Download Shutdown View Edit 
[     ] Upload 
New 

    • Notebook: 
    • 
    • Other: 
    • Text File 
    • Folder 
    • Terminal 

[ ] Toggle Dropdown 

    • Folders 
    • All Notebooks 
    • Running 
    • Files 

    • 

Last Modified 
Name 
Currently running Jupyter processes 
Terminals 
There are no terminals running. 
Notebooks 
There are no notebooks running. 
Clusters tab is now provided by IPython parallel. See IPython parallel for installation details. 

壳里面我试着键入jupyter notebook --no_browser的笔记本电脑启动,但它始终停止重新连接。此外,答案here没有帮助。

会发生什么情况是,Windows上的Ubuntu,就像普通的Ubuntu安装jupyter一样,会尝试打开默认浏览器,只有在“Ubuntu on Windows”的情况下,才能打开实际的默认浏览器的Windows系统,而是打开“w3m”。因此,您需要通过点击Q - > y来退出“w3m”。然后,你应该看到启动时“jupyter笔记本”,你会期望输出:

[C 12:30:49.819 NotebookApp] 

Copy/paste this URL into your browser when you connect for the first time, 
to login with a token: 
    http://localhost:8888/?token=846b1a3b51e3c3adb2cb756a887f178975de1e11c90ada10 

从那里出来,这个程序是完全一样正常。将提供的带有标记的URL复制到您的实际Windows浏览器中,然后一并编码。