jupyterlab 更新

一直将就着用以前的Jupyterlab,最近东西越写越长了,搜搜看有没有能显示TOC的插件,结果发现jupyterlab3都自带了,于是准备更新一下jupyterlab。

jupyter --version
pip install jupyterlab==3
pip install jupyterlab==3 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

先检查一下自己的Jupyter是什么版本的,发现自己的jupyterlab还是1.0.3的版本,果断更新,发现国内连不上外网,就只能用镜像了。

解决了 ERROR: Could not find a version that satisfies the requirement xxx 的问题。

结果又出现了问题:

ERROR: Failed building wheel for argon2-cffi-bindings

ERROR: Could not build wheels for argon2-cffi-bindings which use PEP 517 and cannot be installed directly

最终原因是因为error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

要么下载Visual Studio

要么换镜像源,有一些换成了阿里的就没什么事了,比如pycoco。

pip install pycocotools -i https://mirrors.aliyun.com/pypi/simple/

 

posted @ 2022-05-25 01:01  疏影龙栖  阅读(758)  评论(0)    收藏  举报