前言
JupyterLab 集 Jupyter Notebook、Markdown等各种组件于一体的全能IDE。JupyterLab能够打开更多的文件格式,除了代码文件,还包括CSV、JSON、Markdown、PDF等。其目录功能能够方便地查找和管理代码。本文详述本人在安装目录功能中所遇到的问题及其解决办法。
安装 jupyter_contrib_nbextensions
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
安装 jupyter_contrib_nbextensions报错与解决办法
安装中发现报错:jupyter-core没有更新
于是进行更新(如果更新不成功,需要添加–ignore-installed jupyter-core):
pip install jupyter-core --ignore-installed jupyter-core
更新上述工具时又报错:
ERROR: nbclient 0.7.4 has requirement jupyter-client>=6.1.12, but you'll have jupyter-client 5.3.4 which is incompatible
于是使用以下语句进行更新 jupyter-client:
pip install --upgrade jupyter-client -i https://pypi.tuna