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

widgets not displaying properly when using juv on windows #61

Open
ATL2001 opened this issue Dec 18, 2024 · 1 comment
Open

widgets not displaying properly when using juv on windows #61

ATL2001 opened this issue Dec 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ATL2001
Copy link
Contributor

ATL2001 commented Dec 18, 2024

I'm afraid I may have missed something with the windows support. Sadly, I'm not sure what is missing.

The notebooks work great with just code, but widgets aren't displaying properly. I tried using juv with the same notebook and it worked flawlessly on my mac. I know you know a thing or two about widgets, do you happen to have any ideas what might be needed? when I look at the extensions in jupyterlab on my mac I see jupyter-widgets-jupyterlab-manager and jupyterlab-pygments are both installed but on the windows machine I only see jupyterlab-pygments (not sure if that is relevant, but I think it may be)

image

@manzt
Copy link
Owner

manzt commented Dec 23, 2024

Thanks for opening the issue! Sorry I haven't had the chance to look with the end of the year.

I'd kind of assumed there might be some challenges with widgets cross platform. My best guess of where the fix for this needs to be is in:

SETUP_JUPYTER_DATA_DIR = """

I believe the issue comes from the fact that a single JUPYTER_DATA_DIR is used to point to the static assets required for widgets. However, uv works by layering python environments (meaning there may be multiple valid "data dirs" that we need to merge together).

My guess is that I'm doing this incorrectly for windows.

@manzt manzt added the bug Something isn't working label Feb 25, 2025
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

2 participants