jupyter notebook运行中出现各种错误及警告多由不同包的版本不匹配引发。
pip install jupyter_nbextensions_configurator
pip install nbconvert==5.6.1
pip install traitlets==5.1.1
conda install -c conda-forge ipywidgets
有–user
jupyter nbextension install --py widgetsnbextension --user
jupyter nbextension enable --py widgetsnbextension --user
无–user
jupyter nbextension install --py widgetsnbextension
jupyter nbextension enable --py widgetsnbextension