jupyter lab插件无法打开,且报错Error: 500 (Internal Server Error)

报错信息

WARNING
Error communicating with server extension. Consult the documentation for how to ensure that it is enabled.

Reason given:

Error: 500 (Internal Server Error)

解决方法

  1. jupyter-lab 拓展程序是需要nodejs的,因此先安装nodejs

    在conda中安装:

    conda install nodejs
    
  2. 更新一下jupyter-lab

    在jupyter中新建一个文件,然后在输入框中运行:

    !pip install -i pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --upgrade jupyterhub
    !pip install -i pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ Node.js
    

猜你喜欢

转载自blog.csdn.net/weixin_35757704/article/details/114995972