如何在 Linux Mint 上安装 Jupyter Lab?
我已经通过 sudo apt install python3-pip
安装了 pip3
然后 pip3 install jupyterlab
在安装过程中出现错误:
错误:jupyterlab-pygments 0.1.2 要求 pygments<3,>=2.4.1, 但你将拥有不兼容的 pygments 2.3.1。错误:nbconvert 6.4.2 要求 pygments>=2.4.1,但您将拥有不兼容的 pygments 2.3.1。
警告:脚本 jupyter、jupyter-migrate 和 jupyter-troubleshoot 安装在 '/home/swaraj/.local/bin' 中,该路径不在 PATH 上。
考虑将此目录添加到 PATH,或者,如果您想禁止 这个警告,使用 --no-warn-script-location
最后显示
已成功安装MarkupSafe-2.1.0 Send2Trash-1.8.0 anyio-3.5.0 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asttokens-2.0.5.....
当我执行 jupyter lab 时,它显示
Command 'jupyter' not found, but can be installed with:
sudo apt install jupyter-core
I have installed pip3 by sudo apt install python3-pip
And then pip3 install jupyterlab
During installation errors:
ERROR: jupyterlab-pygments 0.1.2 has requirement pygments<3,>=2.4.1,
but you'll have pygments 2.3.1 which is incompatible. ERROR: nbconvert
6.4.2 has requirement pygments>=2.4.1, but you'll have pygments 2.3.1 which is incompatible.WARNING: The scripts jupyter, jupyter-migrate and jupyter-troubleshoot
are installed in '/home/swaraj/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress
this warning, use --no-warn-script-location
At last it displays
Successfully installed MarkupSafe-2.1.0 Send2Trash-1.8.0 anyio-3.5.0
argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asttokens-2.0.5.....
And when I'm executing jupyter lab it displays
Command 'jupyter' not found, but can be installed with:
sudo apt install jupyter-core
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要在 Mint 20.3 上安装 Jupyterlab(桌面),只需转到 https://github.com/jupyterlab/jupyterlab -desktop 然后下载 Ubuntu linux 安装程序,使用“sudo aptitude install libgtk-3-dev”安装 libgtk-3-dev 软件包并运行“sudo gdebi JupyterLab-Setup-Debian.deb”
希望这有帮助。
ES
PS:这是我的配置,由“$hostnamectl”给出
静态主机名:erwan-Latitude-E6420
图标名称: 电脑-笔记本电脑
机箱:笔记本电脑
机器 ID:09143d0261be487380a9ec9bf41d5922
启动 ID:8e00c5a118284de3b078eaa213ae37f2
操作系统:Linux Mint 20.3
内核:Linux 5.4.0-91-generic
架构:x86-64
to install Jupyterlab (Desktop) on Mint 20.3, just go to https://github.com/jupyterlab/jupyterlab-desktop then download the Ubuntu linux installer, install the libgtk-3-dev package with "sudo aptitude install libgtk-3-dev" and run "sudo gdebi JupyterLab-Setup-Debian.deb"
Hope this helps.
ES
PS: here is my config given by "$hostnamectl"
Static hostname: erwan-Latitude-E6420
Icon name: computer-laptop
Chassis: laptop
Machine ID: 09143d0261be487380a9ec9bf41d5922
Boot ID: 8e00c5a118284de3b078eaa213ae37f2
Operating System: Linux Mint 20.3
Kernel: Linux 5.4.0-91-generic
Architecture: x86-64