Ubuntu20.04使用Jupyter Notebook

1. 安装 Jupyter Notebook

pip install jupyter notebook

2. 运行 Jupyter Notebook

在终端输入指令:

jupyter notebook

会自动打开一个页面。

新建notebook

在右上角点击“新建”,选择python3,即可在新建的文件里按照python格式写代码,并马上实时运行显示结果。

打开ipynb文件

右键点击文件,选择用jupyter notebook打开。或者运行 jupyter notebook命令,在页面中选择要打开的文件。

猜你喜欢

转载自blog.csdn.net/coco_1998_2/article/details/141902235