question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Binder Jupyter Notebooks Error

See original GitHub issue

Running the binder tutorial I receive the following error

/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/formatters.py:918: UserWarning:
Unexpected error in rendering Lux widget and recommendations. Falling back to Pandas display.
Please report the following issue on Github: https://github.com/lux-org/lux/issues 

/srv/conda/envs/notebook/lib/python3.7/site-packages/lux/core/frame.py:628: UserWarning:Traceback (most recent call last):
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/lux/core/frame.py", line 590, in _ipython_display_
    self.maintain_recs()
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/lux/core/frame.py", line 447, in maintain_recs
    self._widget = rec_df.render_widget()
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/lux/core/frame.py", line 675, in render_widget
    import luxwidget
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/luxwidget/__init__.py", line 4, in <module>
    from .widget import LuxWidget
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/luxwidget/widget.py", line 5, in <module>
    from ._frontend import module_name, module_version
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/luxwidget/_frontend.py", line 3, in <module>
    from ._version import __version__
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/luxwidget/_version.py", line 18, in <module>
    __version__ = _fetchVersion()
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/luxwidget/_version.py", line 16, in _fetchVersion
    raise FileNotFoundError(f"Could not find package.json under dir {HERE!s}")
FileNotFoundError: Could not find package.json under dir /srv/conda/envs/notebook/lib/python3.7/site-packages/luxwidget

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dorisjleecommented, May 3, 2021

Hi @eavidan, Thank you for reporting this issue! I made a temporary fix to resolve this issue. For now, you could try out Lux with Binder for JupyterLab here!

0reactions
dorisjleecommented, Jul 9, 2021

Jupyter notebook Binder link not working. We still need to debug this. Screen Shot 2021-07-09 at 11 06 22 AM Screen Shot 2021-07-09 at 11 07 24 AM

Read more comments on GitHub >

github_iconTop Results From Across the Web

Binder Error on YOLOv5 - Jupyter Community Forum
From the Binder Project: Reproducible, sharable, interactive computing environments. Describe the bug. Dockerfile is built, and then: Launching ...
Read more >
sagemath mybinder error #1409 - jupyterhub/binderhub - GitHub
Now binder gets stuck and never opens the notebook. How to reproduce. Go to https://mybinder.org/v2/gh/mmosmond/eeb430/HEAD; The logs are:.
Read more >
jupyterhub/binder - Gitter
Hello, mybinder.org seems to be down at the moment :( Any idea on when it will be up again ?
Read more >
Jupyter VPython - Google Groups
Is this a bug in Binder, or is the notebook type not part of the notebook? ... Re: the error message "I couldn't...
Read more >
usage - Jupyter Notebook - MyBinder
This notebook is part of the nbsphinx documentation: ... there is a bug in Sphinx (below version 1.5) which prevents notebooks from being...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found