Jupyter报错解决
在跑pytorch代码的时候报错Widget Javascript not detected. It may not be installed properly.
,查询各处资料终于解决了问题
软件版本
Python v3.8.2
解决方案
安装ipywidgets 最新版本版本
pip install ipywidgets
安装widgetsnbextension 2.0.0版本
pip install widgetsnextension==2
应用到jupyter
jupyter nbextension enable --py widgetsnbextension
问题解决