6

I newly downloaded a jupyter and try to use it. However, with my mac and window computer, I cannot see the toolbar in jupyter.

I tried to search to solve this issue and I tried to uninstall every version of python on my computers, both on mac and window one, and reinstall the jupyter.

However, I still see the same problem. Can someone help me do deal this issue?

Thank you.

enter image description here

4

5 回答 5

5

您没有看到工具栏,因为对于 Jupyter,您正在打开一个文件。如果要运行 Python 代码,则需要创建一个新的 Notebook。这将创建一个.ipynb文件,Jupyter 可以在其中运行 Python 代码。Jupyter 无法.py从 Web 界面运行文件。

于 2017-08-02T13:39:19.080 回答
5

它也发生在我身上,就我而言,答案要简单得多。它可以通过“查看/切换工具栏”菜单显示/隐藏。
查看/切换工具栏

于 2018-04-17T04:12:30.550 回答
2

编辑 ~/.jupyter/custom/custom.css。我将邮件工具栏设置从“无”更改为“阻止”。即找到这一行:

div#maintoolbar {
    display: none !important;
}

...并将其更改为:

div#maintoolbar {
    display: block !important;
}
于 2020-12-26T00:42:24.880 回答
0

this was my problem also. I got a list of python files but no toolbar. BUT to the extreme right are 3 buttons a reload-symbol and one marked 'new' I selected Python 3 and lo and behold the menu appear at the top of the file. Loading a python program into the note book did not reveal the tool bar !

于 2019-12-01T11:27:08.070 回答
0
!pip install jupyterthemes
import jupyterthemes as jt

!jt -r

这将抛出这样的输出
Reset css and font defaults in:/Users/malaudeen/.jupyter/custom & /Users/malaudeen/Library/Jupyter/nbextensions

最后
刷新浏览器。

现在:可以使用“查看/切换工具栏”菜单显示/隐藏它。

于 2021-06-20T07:41:31.680 回答