問題
jupyter 更新後無法使用外掛,現給出一個能夠使用外掛的安裝步驟
安裝步驟
- 安裝jupyter notebook
pip install notebook==6.4.12
- 安裝並啟用 jupyter_contrib_nbextensions
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
- 安裝並啟用 Jupyter Nbextensions Configurator
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
- 使用jupyter notebook
jupyter notebook
若遇到ModuleNotFoundError: No module named 'jupyter_server' 報錯,執行以下命令
pip uninstall traitlets
pip install traitlets==5.9.0
參考文獻
- ModuleNotFoundError: No module named 'notebook.base' when installing nbextensions
- jupyter 報錯 500 : internal server error的不同解決方法
- 打造實用的Jupyter Notebook 擴充套件外掛
- ModuleNotFoundError: No module named 'jupyter_server.contents'