Skip to content

Display informative message if attempting to use the dashboard and bokeh isn't installed #3836

Closed

Description

@jrbourbeau

From #3741 (comment):

Perhaps we should include a vanilla route under /status (the common
entry point for Bokeh users) that says "please install bokeh" with some
conda/pip install lines if Bokeh isn't installed. The relevant code is
probably in distributed/http/scheduler/info.py . I suspect that someone
even very mildly familiar with web programming could accomplish this by
copying examples that are already there.

Activity

  1. added
    enhancement
    good second issue
    on May 29, 2020
  2. joshreback commented on May 31, 2020

    @joshreback
    Contributor

    I would like to work on this, but I'm unsure of how to implement the suggested approach. Perhaps I'm missing something obvious, but if we add a route under /status to the Tornado server in distributed/http/scheduler/info.py, won't that conflict with the /status route on the Bokeh app? e.g, if Bokeh is installed, and the user navigates to /status, won't they be served by the vanilla route rather than the current status endpoint?

  3. mrocklin commented on May 31, 2020

    @mrocklin
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood second issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions