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.
The text was updated successfully, but these errors were encountered:
Thanks @coatless, we're tracking in posit-dev/shinylive#160. The following workaround still works but as you noted we need to bring the wheel into the shinylive Python bundle.
No worries! shinylive issues are very hard to place, I don't mind moving them or having duplicates that might provide links that help other find their way to the right place. But you're probably right, posit-dev/shinylive is a good starting place for anything WASM-related.
ui.Theme's dependency on
libsass
is problematic for the Shiny for Python environment, c.f.Adding a
requirements.txt
file with:Yields:
Shiny app demo: Playground
Note
I do not believe it's possible to use
shiny["theme"]
inside ofrequirements.txt
within the playground itself due to how the shiny package has to be started.The text was updated successfully, but these errors were encountered: