jupyterLab 3.0 发布后说是可以支持中文,但是
pip install jupyterlab-language-pack-zh-CN
报异常:
ERROR: Could not find a version that satisfies the requirement jupyterlab-language-pack-zh-CN (from versions: none)
ERROR: No matching distribution found for jupyterlab-language-pack-zh-CN
找不到正确的版本。
原因:官方的语言包还没有发布!
怎么解决? 换个源
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install jupyterlab-language-pack-zh-CN
就可以安装成功。
如果安装失败,那就是tuna.tsinghua.edu.cn 源里的安装包也没了。怎么办?
把“轮子”下载到本地,再装!
wget https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/jupyterhub/jupyterlab_language_pack_zh_CN-0.0.1.dev0-py2.py3-none-any.whl
pip install xxx.whl
最后
以上就是冷艳香烟最近收集整理的关于JypyterLab 3.0 安装中文包的全部内容,更多相关JypyterLab内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复