在打开jupyter笔记本时,它会打开Visual Studio

时间:2019-03-15 08:38:34

标签: jupyter-notebook

当我尝试打开 jupyter笔记本时,它正在打开Visual Studio代码页。笔记本无法在浏览器中打开。

没有错误

dstlab2@dstlab2-Veriton-M200-H81:~$ jupyter notebook
[I 13:27:51.585 NotebookApp] Serving notebooks from local directory: /home/dstlab2
[I 13:27:51.585 NotebookApp] The Jupyter Notebook is running at:
[I 13:27:51.585 NotebookApp] http://localhost:8888/?token=3aa1b0ab0a42d3749a22ab70e1d8a5db0adb456bc8448d5b
[I 13:27:51.585 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 13:27:51.587 NotebookApp] 

    To access the notebook, open this file in a browser:
        file:///run/user/1000/jupyter/nbserver-3899-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=3aa1b0ab0a42d3749a22ab70e1d8a5db0adb456bc8448d5b

有人可以帮助我纠正错误吗?

1 个答案:

答案 0 :(得分:0)

在Ubuntu中尝试...

创建一个新的空白 html 文件(xxxx.html)

右键单击并选择属性。将打开一个带有三个标签的窗口

选择标签:打开

默认应用程序是Visual Studio(根据您的情况)

选择合适的浏览器(在推荐的应用程序下): firefox / chrome

选择按钮:设置为默认

然后,它将在您选择的浏览器中打开。