【问题标题】:Jupyterhub not running on Ubuntu 14.04Jupyterhub 未在 Ubuntu 14.04 上运行
【发布时间】:2016-07-08 14:45:13
【问题描述】:

过去两天一直在这个问题上。

关注有关此问题的 github 链接。没用。 https://github.com/jupyter/jupyterhub/issues/237

saimmehmood@saimmehmood-VirtualBox:~$ sudo jupyterhub
[sudo] password for saimmehmood: 
[I 2016-03-22 02:18:54.577 JupyterHub app:558] Loading cookie_secret from /home/saimmehmood/jupyterhub_cookie_secret
[W 2016-03-22 02:18:54.865 JupyterHub app:292] 
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.

[W 2016-03-22 02:18:54.893 JupyterHub app:685] No admin users, admin interface will be unavailable.
[W 2016-03-22 02:18:54.900 JupyterHub app:686] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2016-03-22 02:18:54.906 JupyterHub app:712] Not using whitelist. Any authenticated user will be allowed.
[I 2016-03-22 02:18:55.016 JupyterHub app:1113] Hub API listening on http://127.0.0.1:8081/hub/
[E 2016-03-22 02:18:55.055 JupyterHub app:855] Refusing to run JuptyterHub without SSL. If you are terminating SSL in another layer, pass --no-ssl to tell JupyterHub to allow the proxy to listen on HTTP.


saimmehmood@saimmehmood-VirtualBox:~$ sudo jupyterhub --no-ssl
[I 2016-03-22 02:19:12.896 JupyterHub app:558] Loading cookie_secret from /home/saimmehmood/jupyterhub_cookie_secret
[W 2016-03-22 02:19:13.046 JupyterHub app:292] 
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.

[W 2016-03-22 02:19:13.079 JupyterHub app:685] No admin users, admin interface will be unavailable.
[W 2016-03-22 02:19:13.080 JupyterHub app:686] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2016-03-22 02:19:13.080 JupyterHub app:712] Not using whitelist. Any authenticated user will be allowed.
[I 2016-03-22 02:19:13.149 JupyterHub app:1113] Hub API listening on http://127.0.0.1:8081/hub/
[W 2016-03-22 02:19:13.174 JupyterHub app:851] Running JupyterHub without SSL. There better be SSL termination happening somewhere else...
[I 2016-03-22 02:19:13.174 JupyterHub app:860] Starting proxy @ http://*:8000/
/usr/bin/env: node: No such file or directory
[C 2016-03-22 02:19:14.297 JupyterHub app:1119] Failed to start proxy
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 1117, in start
    yield self.start_proxy()
  File "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 881, in start_proxy
    _check()
  File "/usr/local/lib/python3.4/dist-packages/jupyterhub/app.py", line 877, in _check
    raise e
RuntimeError: Proxy failed to start with exit code 127

请告诉我任何解决方案。

谢谢!

【问题讨论】:

    标签: ubuntu-14.04 jupyterhub


    【解决方案1】:

    看来问题出在这一行

    /usr/bin/env: node: No such file or directory

    要么你没有安装 nodejs,要么它不在$PATH 中。请注意,运行 jupyterhub 需要 nodejs/npm。 看起来你正在运行一些 linux 发行版,所以你应该能够运行

    sudo apt-get install npm nodejs-legacy

    请参阅the JupyterHub GitHub pagedocs 了解更多信息。

    【讨论】:

    • 谢谢威尔!令人惊讶的是,我怎么会错过这样的事情。 :)
    猜你喜欢
    • 1970-01-01
    • 2015-07-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-05
    • 2014-08-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多