擅长:python、mysql、java
<p>我通过删除jupyter笔记本、jupyter_contrib_nbextensions和jupyter_nbextensions_configurator并从头开始解决了这个问题。</p>
<h2>卸载</h2>
<p>对于不同的安装源,可以通过以下方式删除这些包:</p>
<pre><code>pip uninstall jupyter
pip uninstall jupyter_contrib_nbextensions
pip uninstall jupyter_nbextensions_configurator
</code></pre>
<p>或者</p>
<pre><code>conda remove --force jupyter notebook
conda remove --force jupyter_nbextensions_configurator
conda remove --force jupyter_contrib_nbextensions
</code></pre>
<p><strong>但我建议您同时运行以上两个命令。</p>
<h2>安装</h2>
<p>最好安装所有来自anaconda的软件包:</p>
<pre><code>conda update notebook
conda install jupyter notebook
conda install -c conda-forge jupyter_nbextensions_configurator
conda install -c conda-forge jupyter_contrib_nbextensions
</code></pre>