
演示视频:https://www.bilibili.com/video/BV1nL411M7mP
# 安装jupyterhub基础环境
>>> apt install nodejs
>>> apt install npm
>>> apt install libffi-dev
>>> npm install -g configurable-http-proxy
# 安装jupyterhub
>>> pip3 install notebook
>>> python3 -m pip install jupyterhub
如果不安装notebook则会报错:
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<BaseHandler.spawn_single_user() done, defined at /usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py:697> exception=HTTPError()>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 889, in spawn_single_user
timedelta(seconds=self.slow_spawn_timeout), finish_spawn_future
tornado.util.TimeoutError: Timeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py", line 922, in spawn_single_user
% (status, spawner._log_name),
tornado.web.HTTPError: HTTP 500: Internal Server Error (Spawner failed to start [status=1]. The logs for gaoxiang may contain details.)
[W 2020-01-16 16:31:19.506 JupyterHub user:678] gaoxiang's server never showed up at http://127.0.0.1:40326/user/gaoxiang/ after 30 seconds. Giving up
[E 2020-01-16 16:31:19.519 JupyterHub gen:599] Exception in Future <Task finished coro=<BaseHandler.spawn_single_user.<locals>.finish_user_spawn() done, defined at /usr/local/lib/python3.6/dist-packages/jupyterhub/handlers/base.py:800> exception=TimeoutError("Ser

本文详细介绍了如何在Linux环境下安装与配置JupyterHub和JupyterLab,包括基础环境搭建、用户管理、系统服务设置及JupyterLab集成等关键步骤。
最低0.47元/天 解锁文章
781

被折叠的 条评论
为什么被折叠?



