You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ui.Theme's dependency on libsass is problematic for the Shiny for Python environment, c.f.
ImportError: The 'libsass' package is required to compile custom themes. Please install it with `pip install {pkg}` or `pip install "shiny[theme]"`.
Adding a requirements.txt file with:
pip install libsass
Yields:
ValueError: Can't find a pure Python 3 wheel for 'libsass'.See: https://pyodide.org/en/stable/usage/faq.html#why-can-t-micropip-find-a-pure-python-wheel-for-a-packageYou can use `await micropip.install(..., keep_going=True)` to get a list of all packages with missing wheels.
I do not believe it's possible to use shiny["theme"] inside of requirements.txt within the playground itself due to how the shiny package has to be started.