Skip to content

[BUG] Issue running Dash on Google Colab (with proposed solution) #3657

@leontoddjohnson

Description

@leontoddjohnson

Hello!

I was running Dash on Google Colab, and I found that (even after installing dash) the recommended code did not work. It turns out, the default Google Colab environment does not include Dash or comm, and that package looks to be required for it to work. In other words, the comm requirement seems to be causing issues ...

Proposal

  • Adjust/Add documentation on Google Colab to include the Dash/comm package install issue
  • Adjust/Loosen (?) the comm package requirement

Current Example
Right now, this seems to work:

First, install packages:

!pip install dash comm

Then, choose app run option.

app.run(debug=True, jupyter_mode='inline', jupyter_height=800)

# OPTIONAL: create url to open in new tab (requires runtime restart)
# app.run(debug=True, host='localhost', jupyter_mode='external')

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions