- 安装插件 Nbextensions
pip3 install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
- 选中
Variable inspector
重新打开 jupyter notebook,macos可在
edit > nbextensions config
打开配置页面,勾上Variable inspector
。 - 重启 jupyter notebook,可看到查看变量的按钮