我正在尝试为多用户模式运行 jupyter hub。我从 PIP 安装了 jupyterhub。
[root@ip-of-machine hadoop]# echo $PATH
/usr/local/bin/jupyterhub-singleuser:/usr/local/bin/jupyterhub:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin
当我调 jupyterhub 时,我收到一条错误消息
500内部服务器错误
无法启动您的服务器。请联系管理员。
我运行它
[root@ip-of-machine hadoop]# /usr/local/bin/jupyterhub -f ./jupyterhub/jupyterhub_config.py --no-ssl
日志包含
[I 2016-05-03 17:13:09.406 JupyterHub spawner:465] Spawning jupyterhub-singleuser --user=jupyter --port=40770 --cookie-name=jupyter-hub-token-jupyter --base-url=/user/jupyter --hub-host= --hub-prefix=/hub/ --hub-api-url=http://127.0.0.1:8081/hub/api --ip=127.0.0.1
[E 2016-05-03 17:13:09.433 JupyterHub user:237] Unhandled error starting jupyter's server: [Errno 2] No such file or directory: 'jupyterhub-singleuser'
但是路径中有单用户。我明确地将它添加到路径并导出。
有什么线索吗?谢谢。