Jupyter

Jupyter

安装

配置

启动

重置Token

WEB

复制这三个网址其中一个到浏览器

jupyter状态

快捷键

菜单 - Help - Keyboard Shortcuts 可以查看快捷键。

调整页面宽度

调整 Jupyter 的 Notebook/Terminals 页面宽度,只要将以下内容放入文件 .jupyter/custom/custom.css

需要重启 jupyter

问题排查

web上新建python文件时报错

原因分析: 安装的 pyzmq 库版本过高,为 22.3.0,故我们降低版本即可,降低至 19.0.2

解决方案: pip uninstall pyzmq # 卸载当前 pyzmq pip install pyzmq==19.0.2 # 安装版本为 19.0.2 的 pyzmq

ipaddress

ERROR: Cannot uninstall 'ipaddress'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. ERROR: Cannot uninstall 'enum34'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. 系统自带了 低版本的 ipaddress enum34,不安装新版本即可

Jupyter 支持的所有内核