Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ipywidgets in requirements.txt #5

Open
alimanfoo opened this issue Dec 4, 2023 · 0 comments
Open

Missing ipywidgets in requirements.txt #5

alimanfoo opened this issue Dec 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@alimanfoo
Copy link

Description

I think ipywidgets might need to be added to the requirements.txt. I just tried out deploying on railway via this template and was getting errors relating to widgets like:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load view class 'ErrorWidgetView' from module '@jupyter-widgets/base'
Error: No version of module @jupyter-widgets/base is registered
    at _.loadClass (https://web-production-2492.up.railway.app/voila/static/7018.voila.js:1:77776)
    at _.loadViewClass (https://web-production-2492.up.railway.app/voila/static/7018.voila.js:1:74931)
    at https://web-production-2492.up.railway.app/voila/static/7018.voila.js:1:66785
    at async g.renderModel (https://web-production-2492.up.railway.app/voila/static/7018.voila.js:1:65329)

Adding ipywidgets resolved this.

Also looks like the version of voila is pinned and could be updated to a more recent release.

Reproduce

Try deploying on railway using this template repo, then try any of the notebooks that use widgets.

@alimanfoo alimanfoo added the bug Something isn't working label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant